May 21, 2017 at 10:33 pm #5846
My website is translate ok, but not in every items.
For example in comments in bottom article.
And in Homepage in the bottom every slide “view details”
by user, Categories:
in comments on the bottom post:
Share this post:
About the author
I don’t show file with this transtale.
I have file with translate in my website but this words i not include.
Maybe this translate in not in the files name.po in folcer languages?…
Can You help me? Thank’s, MarcinMay 21, 2017 at 10:34 pm #5847May 22, 2017 at 10:20 pm #5848May 23, 2017 at 12:10 am #5849
yes I have this files. In /wp-content/themes/untitled/languages
I include this files on my server
May 23, 2017 at 12:14 am #5850
- This reply was modified 9 months ago by marcin.
I include this files on my serverMay 23, 2017 at 12:33 am #5852
I find this place 🙂
‘View details’ on homepage
it’s in file: portfolio_slider.phpMay 23, 2017 at 12:49 am #5853May 23, 2017 at 8:00 am #5854
The two file I linked above are different from those that come with the download package. I just created them last night. In these files, you should find all those translation strings.
However, because you already used the initial files to translate the theme and you don’t probably want to do that again, try using Poedit to update your files. Just open the .po file from its original location inside the theme and press the Update button. Save the file and check if the .mo file got generated automatically. The new strings should appear, because they are already translation-ready.
Let me know if it works.
CiprianMay 24, 2017 at 9:46 am #5859
Where is this new .po file? Which you changedMay 24, 2017 at 11:02 am #5860May 24, 2017 at 1:31 pm #5861May 24, 2017 at 10:42 pm #5865
Theme translation files are in this folder:/wp-content/themes/untitled/languages/
The theme comes with two files: default.po and default.mo. You can use these files, but it’s advisable to create specific files for your language by copy-pasting these files and renaming them to your locale (ie pl_PL.po and pl_PL.mo).
I already found pl_PL files in /wp-content/themes/untitled/languages/, but they were not theme’s files (they were standard WordPress translation files). I renamed them to pl_PL-old and put instead the correct theme files. I already translated the text you mentioned, but using Google Translate because I don’t speak Polish.
You should revise the translation. It’s super easy. Just install Poedit and open the file pl_PL.po with this application. You’ll find a list of translatable strings. Translate only what you want (select the string and enter the translation in the box named Translation) and save the file. pl_PL.mo will be autogenerated when you save the .po file. Copy them back to your server in /wp-content/themes/untitled/languages/ and that’s all.
Let me know if it works.
You must be logged in to reply to this topic.