![]() mo file up to languages directory(in my theme) on your server. target-languageda-DK originalALProject16>â If exist po/mo files language as you want => it will override current.Īfter all, you will get file name look like: it_IT.moĬopy/upload. The same is true when using RAD publishing, all translations will also be. po/pot on the path as the image above(method 1). Example: changed to it_IT.mo Method 2.Äownload and install software Gettext Translations Editor at then open/edit file. The file downloaded has the name look like: abcdedg_it_IT.mo, change file name downloaded to âyour_local.moâ file. To do so, start your Poedit software and click on the create new translation form Pot template as illustrated below: A popup window will be rendered and you will need to select the stax.pot file from the wp-content > themes > stax > languages directory path. ![]() If you have a licensed version of Poedit, you can now pre-translate the empty strings. Now, you can begin to translate the empty strings or edit the strings with existing translations. This will launch Poedit and display the original strings. â Change/add value as you want, then convert. From the drop-down menu next to Open with, select Poedit. â Edit new file(it_IT.po) with software just installed. â Then download & install Gettext Translations Editor software(free) at Next, to download the language file, we need to install an OpenSource Editor called poedit for editing from: https://poedit. (In this article I will get an example: change en_US.po to it_IT.po). â Rename file corresponding with your Locale here: There are many other GetText editors (i.e poedit) offer a number of. po/pot file(in directory languages) as the image below(root is my theme): The program will sort the file and group records with the same sort Keys together to. Using POedit I'd like to work with 2 separate language files, so translators need only edit one client-specific language file, while the system-specific language file stays intact. To change the value field of the theme via language file, you can do follow one of 2 methods below. POedit/xgettext: create context-specific. â Directly within WordPress by using a localization plugin (such as Loco Translate plugin â thatâs free and most of my customers used successfully). You can also consult our guide on How to Translate using LOCO Translate plugin Very few developers develop their plugins and themes in a language different from English so you will have to translate the phrase in theme and plugins into many different languages by yourself, and Iâll explain to you how.
0 Comments
Leave a Reply. |