Tag Info

New answers tagged

0

You could try this in your functions.php <?php add_filter('rewrite_slugs', function($translated_slugs) { // the possible translations for your slug 'product' $translated_slugs = array( 'product' => array( 'pt' => array( 'has_archive' => true,'rewrite' => array('slug' => 'produto'), ), ...


0

Nevermind, I figured out the solution: the trouble was that POEdit hadn't picked that there were both singular and plural forms, so I had to manually edit the .PE file to this: msgid "Job Posted" msgid_plural "Jobs Posted" msgstr[0] "" msgstr[1] ""


1

.po and .mo files are for translating strings in code files. For translating post content use a translation plugin. I've used a few and find WPML to be the best in many aspects. Incidentally, they have a built-in workflow for translating both content and strings in code files.


0

Well, after many hours, the problem was found: There was a conflict between WPML and Yoast SEO plugin. We've unchecked checkbox Strip the category base (usually /category/) from the category URL. in Yoast SEO settings. This makes urls in format /de/category/blog-de and /category/blog Then at the Permalinks Options, we've added a dot '.' at the Optional ...



Top 50 recent answers are included