Trouble translating a Child Theme

you must have to enque your parent theme first. function load_parent_stylesheet() { wp_enqueue_style( ‘parent-styles’, get_template_directory_uri() . ‘/style.css’ ); } add_action( ‘wp_enqueue_scripts’, ‘load_parent_stylesheet’ ); Then load your translation folder function my_theme_lang_setup() { $lang = get_stylesheet_directory() . ‘/languages’; load_child_theme_textdomain( ‘your-domain’, $lang ); } add_action( ‘after_setup_theme’, ‘my_theme_lang_setup’ ); Put this in your function.php and try

WordPress Baskerville 2 translation

It’s quite well explained here: https://developer.wordpress.org/themes/functionality/internationalization/ Basically ensure that all plain text uses the get_text functions with a text domain for your theme: https://developer.wordpress.org/themes/functionality/internationalization/#basic-functions Add code to ‘Load’ any translations https://developer.wordpress.org/themes/functionality/internationalization/#loading-translations. Once you have done that, IF translations exist they will be used. THEN to get the translations. This is also useful https://codex.wordpress.org/I18n_for_WordPress_Developers There are … Read more

How to translate custom Divi module using POEDIT and Polylang [closed]

It seems that you’re adding translatable strings with text domain “custom-strings” but loading a text domain “Divi” in load_child_theme_textdomain. Needs to be the same Don’t use the same text domain as your parent theme. If your parent theme is Divi, use divi-child (it should match your child theme slug). In your child theme’s style.css, define … Read more

Why translations?

so you will need at least translations into german. there shouldn’t be other packages loaded for your site. you can find these files in the language folders in wp-content. there are other language folders as well in the plugins or in thmemes.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)