Problems with Translation of Envince Theme
-
Hello,
I would like to translate Envince Theme on my site to Gerrman language and I am facing massive issues.
I tried all common methods, but the translation is not working on the frontend.
The wordpress installation is in done in a sub directory and working fine. I made several modifications of css and now since I want to change language I am completely stuck.I have done:
– changed language in wordpress admin panel to German
– added the de_DE.po and de_DE.mo file made with podeditor to the child theme /languages directory.
– added other filenames to test with envince-child-de_DE.pot and so on…
– added the files to the wordpress wp-content/languages directory
– tried to translate with LocoTranslate Plugin
– added a php function to the child-theme functions.php
– added the po, mo, and pot files to the original envince (not child) languages-directory
– added the (old method) define lang in php-config file in wordpress root:
“define (‘WPLANG’, ‘de_DE’);”To clearify, this is my function on child-theme functions.php
`function envince_child_setup() {
$path = get_stylesheet_directory().’/languages’;
load_child_theme_textdomain( ‘envince-child’, $path );
}
add_action( ‘after_setup_theme’, ‘envince_child_setup’ );Nothing worked. Still strings I translated are displayed in english on frontend. I am desperate now and do not know what to do else.
Please help.Thank you.
The page I need help with: [log in to see the link]
- The topic ‘Problems with Translation of Envince Theme’ is closed to new replies.