Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

We are a professional company with lots of big clients and have adopted Wordpress 2 years ago to build professionnal grade websites. Being locate in a multiple language country, we have to make our sites bilingual.

We found that using WPML has been the best solution so far to support multiple locales and/or languages. Our problem is at several levels:

  1. WPML supports languages but binds a locale, how do you actually make it work with locales such as fr-CA, en-CA, en-US at the same time without create a strange language code?

  2. Is there a way to put your wordpress in an invariant state? For example, creating a template with __e('something') creates a string in WPML that you'll have to translate in other languages than the default of the your blog. What happens if you have to change your default string to something else? You have to retranslate all your translations and it clutters the interface...

We have a couple of ideas how to achieve this, but we'ld like to know what is the best possible method to achieve this.

Thanks

share|improve this question

closed as too localized by EAMann Feb 7 '13 at 17:50

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
I suggest you discuss this with the developers of that plugin in the first place. Why don't you invite those guys to a code-sprint over to your company for some days? –  hakre Feb 6 '13 at 16:39
    
What you're looking for are resource files (xml, resx), I don't think WPML supports this, you would have to probably write your own template parser or integrate one that is out there, maybe have a look at how Symfony handles language placeholders. –  Wyck Feb 6 '13 at 17:48
    
Closing as per OP's request. –  EAMann Feb 7 '13 at 17:50