Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 130709

Translation not working in my theme

$
0
0

Replies: 0

I just installed Loco translate to translate some minor strings, but i can’t get it to translate at the front-end.

I’ve used Loco to generate the template and config. The strings shows perfectly fine in the loco translation editor, but when I am translating it into the prefered language it still shows up in english(fallback), not the active language.

I use I18n: <?php echo __(‘Main menu’, ‘themeprefix’); ?>
Language files is located at: wp-content/themes/themeprefix/languages
language folder containing files: themeprefix.pot | da_DK.po | da_DK.mo

What could be wrong? I tried resetting the config, remove all translating files and start all over.


Viewing all articles
Browse latest Browse all 130709

Trending Articles