-
AuthorPosts
-
April 15, 2020 at 2:34 am #1203829
Hello,
I have wordpress website in portuguese language, unfortunatelly some words in blog have not translated automatically.
In plugin – “Read More”
In Blog – “Categories”, “Share on” …What is done:
– Tryed to translate with Polylang, it translated but not everything – uninstall
– Tryed to translate with loco Translate and found some words with missing translation, but strange, some words already have been translated but in frontend is still in english
– add lang folder in enfold-child and add code in functions.php:function overwrite_language_file_child_theme() {
$lang = get_stylesheet_directory().’/lang’;
return $lang;
}
add_filter(‘ava_theme_textdomain_path’, ‘overwrite_language_file_child_theme’);Still no changes …
– Check .po files with Notepad and all translation is there … do not appeared in frontend
– Tryed to use Poeditor, in case loco translate failed, but it is limited to 1000 words … my file is too big
– Found another generator from .po to .mo files and upload by ftp … no changesPlease, can you help me translate?
Thank you very much,
Best Regards,
Daria.April 15, 2020 at 3:01 pm #1204000Hey DariaAlbufeira,
Please try switching to Brazilian Portuguese and see if the issue persists. Enfold does not really have the pt_pt version.
If you need further assistance please let us know.
Best regards,
VictoriaApril 15, 2020 at 5:33 pm #1204068Thank you very much Victoria,
I resolved this problem,
Writing here, because may be somebody will use my solution.It is impossible to chose portuguise version in wordpress (PT or BR), at least I did not find, it is just Portuguese.
So I just renamed pt_BR.mo and pt_BR.po in pt_PT.mo and pt_PT.mo, and edit files with Loco Translate, and the translation apeared in frontend.
Some of the words on sidebar were in wiget title, just changed there.
Thank you, Resolved,
Daria.April 15, 2020 at 5:39 pm #1204076Hi DariaAlbufeira,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- The topic ‘Can not translate some words in portuguese language’ is closed to new replies.
