0
votes
0answers
38 views

Load a form via jquery/ajax that contains strings for translation (WPML)

I have three forms that I'm loading dynamically via jQuery/ajax into my theme file as follows (code below from javascript file that gets enqueued to the footer): var root = location.protocol + '//' + ...
0
votes
1answer
25 views

Translate arguments of a user added custom code

I needed to hardcode some extra code to a existing portfolio-template. Now there are two arguments which values need to be translated: <a href="/news/" class="hover-on"> <div ...
4
votes
3answers
203 views

Best pratice to make taxonomy terms translatable without changing slugs?

I have one custom taxonomy with countries and states. I'd like to make these terms translatable but I'm not sure what would be the best way to achieve this. First of all, I don't want the slugs to ...
1
vote
3answers
467 views

Find proper “text domain” within theme

I have a client with a wordpress theme, Nevada, and we are having trouble making the built in translations work for it. The theme contains .mo files for English, German, and Slovenian, and appear to ...
1
vote
0answers
79 views

What would be the correct way to manage a multiple locale site with Wordpress [closed]

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 ...
0
votes
1answer
135 views

WordPress Translation to french, at -> à not working

I have a german / french blog. I installed the german WordPress version, so I already had de_DE.mo and de_DE.po in wp-content/languages. After I realized that the content of a comment's ...
0
votes
1answer
4k views

WPML - How to get posts from category according to language?

My client uses WPML to translate their content posts. I am finalizing the adaptation of their WordPress project, and I am faced with an issue where I can only retrieve posts in the base language, ...
6
votes
1answer
163 views

Gettext details

I've got a few gettext() questions that are not covered anywhere in WordPress Codex but I think they are important. __('string') in THEME should be used for strings that are likely to be present ...
0
votes
3answers
816 views

Internationalize plugin so strings can be translated in WPML

A third party developer made a text widget with title, body and thumbnail. This accompany widget plugin has not been internationalized and therefore the strings do not appear in WPML's string ...