OK. Patches are complete. The majority of the website can be translated now.
What still needs to be done is to allow translation of the sidebar nav. My plan is to move that out of the config.php file and into a separate file, possibly in XML.
People who want to send translations of the news and wwn will probably need to subscribe to wine-cvs and watch for commits from me for the files in the "en" dirs to keep the turn around time on translations shorter.
At the very least, the website will always fall back to the english version of the template.
Jeremy Newman wrote:
Yeah, I'm working on a patch now to enable translations of all the content. Someone will have fun jobs of sending in translations of all the WWN content, but if they are up to the challenge.
Hold off on your updates until I'm done.
FYI, your templates will need to be in UTF-8 encoded text files. Make sure your text editor is set to output that. Your original patch was not UTF-8.
Ángel Guzmán Maeso wrote:
2. The website does not support translations yet. I don't think it is much work to support it. Mainly the HTML class template() function needs to check the browser for the language, then change the template dir, if the template for the language is not found, then the EN version is loaded as a fallback.
I have PHP programming for 4 years and my level still is not perfect, although the management sufficiently.
I think it's hard work, but it is not difficult. Some of my pages bear languages and this is a small sketch of the script that I use to recognize the languages and apply them in my pages