Make sure to contact us and send a copy so others can download your language pack. VamTam themes are designed to work with virtually any language so just take the included. So if you've recently purchased a VamTam theme and a language pack file (.mo) is not available for your native language, you should follow the steps above and create your own. Make sure you've activated the latest version of the theme (the one that the new language file came with) LANG is the language code for your translation. THEME is the theme textdomain, which is usually the same as the name of the theme's directory. Wp-content/languages/themes/THEME-LANG.mo po file in your wp-content/languages/themes folder. It should also update any other changes that have been made.Ĥ. After you have translated the new text, save the project, which will generate your new. pot file from the theme language folderģ. Poedit will show you what text is new and needs to be translated. pot file from the menu and select your new. mo language file doesn’t have translations for those strings.ġ. Open your old existing. This is due to the fact that some theme strings have changed and the old. If you've previously translated an older version of a theme and upgraded your site to the latest version, you’ll notice the translation file no longer works correctly. The third part (Order Complete) is available for translation in the VIP-restaurant text domain and you should be able to see it in PoEdit. If you translate these titles, this will be reflected in the breadcrumb. The first two parts of the breadcrumb (Cart and Checkout) use the page titles for the Cart/Checkout pages. WoocCmmerce breadcrumb is not marked for translation in your theme, so I cannot translate it via POEDIT. This means that changing the text domain of a theme/plugin is very time consuming and I would personally advise against that. The two text domains must match, and they must also be present in every call to a translation function. The first one is only used when the theme is not active. in vamtam/classes/framework.php (the line is different in every theme) There are two places where the theme textdomain is defined: po file wasn't completely translated correctly in the first place.Ģ. Please note that the difference between the theme slug and the theme text domain can cause several issues with the translation. If you see part of your site translated you either didn't translate the entire. If it’s not working, chances are you didn't use the correct naming conventions for your. Assuming you've made all these changes, you should now be able to reload the theme and see it in your native language. mo files with the new ones in your language folder.Ĩ. Make a change to your WordPress Site Language in Dashboard > Settings > Generalġ. po file is your editable file which you can always load back up in poedit and update. If you edit the. If you want to translate the theme into another language you will need it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |