Home › Forums › Travel WordPress Theme › Translation don't work!
Tagged: translation
- This topic has 9 replies, 2 voices, and was last updated 10 years, 6 months ago by
kairoscommunication.
-
AuthorPosts
-
December 4, 2015 at 1:45 pm #9103
kairoscommunication
ParticipantHello, could someone explain me how make a translation with .po file? I’m using an application for the translations (PoEdit), but it don’t work! Is there a specific name which I rename the .po file? Thank you!!
December 5, 2015 at 2:36 am #9104Hello,
To translate the static strings, it is recommended to download PO Edit here(http://www.poedit.net/). After installing the PO Edit please follow the following steps:
– Open the /Travel/languages/ folder and duplicate the default.po file, then rename it to your desired language code. For example, for German you need to rename it as de_DE.po for Spanish es_ES.po for Turkish tr_TR.po etc. You could find all the codes here(http://codex.wordpress.org/WordPress_in_Your_Language).
– Open the .po file in PO Edit, you will see all strings that need to be translated. Type the translation of a string into the “Translation” column. Do not delete or edit “Original string” part.
– After finish translating, save the file, an .mo file would be created in the same directory.
– Upload the new files into the languages folder of the theme /wp-content/themes/theone/languages/ and then follow this guide: http://codex.wordpress.org/Installing_WordPress_in_Your_Language#Single-Site_Installations.
Cheers!
Bwsm – uiueux.com
December 7, 2015 at 4:39 pm #9139kairoscommunication
ParticipantStill not working 🙁 why?
December 8, 2015 at 2:59 am #9140This reply has been marked as private.December 9, 2015 at 9:35 am #9149kairoscommunication
ParticipantThis reply has been marked as private.December 9, 2015 at 2:57 pm #9156I didn’t find the reason. It is strange. I’ll keep on checking tomorrow.
December 9, 2015 at 3:02 pm #9157kairoscommunication
ParticipantThis reply has been marked as private.December 10, 2015 at 2:19 am #9159is it possible to write a longer article when I create a post like “Gallery”?
Please enter content into Excerpt
how to find Excerpt: https://www.dropbox.com/s/z21671btidz959k/QQ20150710-2.jpg?dl=0December 10, 2015 at 3:39 am #9160It works, the file name is wrong: it-IT.po/it-IT.mo should be it_IT.po/it_IT.mo
FW: It is an obvious mistake, I did not even start that, It spent several hours to check.
December 10, 2015 at 4:42 pm #9167kairoscommunication
ParticipantOhhhhh thank you so much!! It finally works!! Thanks a lot again, have a nice day!! *_*
-
AuthorPosts
- You must be logged in to reply to this topic.
