Thanks to a huge effort by Stephane (sdecleire<http://github.com/sdecleire/>), CE's translation architecture is now much more i18n-friendly. Stephane went through the whole app and found places where the i18n tokens made it very tough for translations to be made in some languages. For example, we had lots of things like:
:the_nice_blue.l + :car.l This gives "the nice blue car" in English but, in latin languages (like French, Italian, Spanish) the adjective can be after the noun : "la belle voiture bleue" and not "la belle bleue voiture". These concatenations made it i18n more difficult in those languages. Stephane cleaned up all those bad i18n tokens, and even finished off the fr.yml locale while he was at it. Thanks! What this means for others: - en.yml is now the canonical, base locale. Every token that ships with the default CE code should be in there. If you're a developer and you add tokens somewhere, they should also be added in en.yml. - If you have an existing app with customizations to any CE templates, you'll want to make sure your tokens are still correct (or you'll get a 'translation_missing' message in your views) - The other locales (besides en.yml and fr-FR.yml) are now out of date. I'd appreciate help from native speakers of those languages to get all our locales complete and correct Regarding that last two points, please consider using my fork of the translate plugin <http://github.com/bborn/translate> - it gives you a nice UI (available at /translate) where you can fix up and complete the translations. It also provides some helpful rake tasks for keeping locales updated and in sync with en.yml, and finding tokens which are in your code but not in your locale (or vice-versa) Thanks, and please let me know if you have any questions. Bruno --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---
