Tag Info

New answers tagged

2

Own theme If you are using your own theme, no need to worry about, because /languages folder is in your control that way. :) Other's theme But your concern is about other's theme and you want to apply your translations into that theme, then the best way is to make a Child Theme. Because you are actually modifying that theme. Make your languages files and ...


1

If you have something like _e('') just change it to something like _e('','a4jp') In this example, a4jp is the theme name (theme-slug).


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] ""



Top 50 recent answers are included