Localization issue
-
Dear Carolina,
Thank you for this beautiful theme! I am trying to use it with another language (German, formal) in a child theme so I was happy to contribute with a translation. But on the website it still shows the English strings, e.g. in the post entry-meta and post entry-footer.
So here is what I did:
- Translated the theme it into German formal at https://translate.www.ads-software.com/projects/wp-themes/deejay
- Downloaded .mo and .po files
- Renamed them: wp-themes-deejay.de.mo -> deejay.de_DE-formal.mo (same for .po)
- Uploaded them to /wp-content/languages/themes/
- Made sure German formal is selected in WordPress settings
- Made sure /wp-content/themes/deejay-child/functions.php contains the code below
add_action('after_setup_theme', 'deejay_theme_setup'); function deejay_theme_setup(){ load_theme_textdomain('deejay', get_template_directory() . '/languages'); }
Could you please tell me how to make it work? Thank you in advance for your help.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Localization issue’ is closed to new replies.