mo to the said location, go to your WordPress Dashboard > Settings > General. If you do not have this languages folder in your wp-content folder then simply create it.Ħ. Upload these two files in this location by accessing your site via FTP or your hosting's file manager program, once connected go to wp-content/languages/themes (when dealing with themes) or wp-content/languages/plugins (when dealing with plugin translation). Once you click save Poedit will automatically generate. The text domain of any plugin(if it's translatable) can be found in the main plugin file (usually named the same as the plugin itself): The text domain of any theme (if it's translatable) can be found in the style.css file of that theme: Example: woovina-en_US for US English, woovina-vi for translating WooVina theme to Vietnamese. The format should be theme-text-domain-language_code. Make sure that you saved the file in the correct format Once you have your language selected, you can now begin the translation For the list of language codes WordPress uses, please click this Link. This needs to be followed otherwise the translation won't work. Note : WordPress uses a language code for every language there is. Choose the language you would want it to be translated into pot of the theme/plugin you wish to translateģ. Open the Poedit software > Create new translationĢ. Once you have both, follow the instructions below. pot file of your theme or plugin - You can get this from the zip file of the theme or plugin that was downloaded from the Purchase History of your account, it's usually in the languages If you don’t know how to do it, you can refer to this article.Before you begin the translation, you will need the following: Finally, you just need to change the main language of your site. Upload your translation file (.PO/.MO file/files) to to one of the above folders. The translation files may be deleted when you update the child theme.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |