![]() ![]() open wp-config.php file, which is located in your WordPress installation, and add it to the line: define ("WPLANG", "ZZZ"), where ZZZ is the name of the file you have used to save your translation.mo extension, is generated automatically by Poedit) to the corresponding directory on your hosting account mo file (the same as you have saved, but containing. po file you have saved on previous step, and. after your theme has been translated, save the file in the same directory as the original template.In the Translation section enter a desired translation of the source string: highlight any string you want to translate in the Source text section.Click OK button and go ahead to translate your theme in the appeared dropdown menu select a language you need to translate your theme to.Your theme's default translation template in THEMEXXX/lang/YYY.po (where THEMEXXX is the name of your theme and YYY – default language of the theme). In the pop-up window select WordPress theme you need to translate. open Poedit and select Create new translation.the final step - save your POT file, and your theme is ready for translation!.The program will generate a list of the localized text in your theme's files ![]() Poedit will scan folders specified in the Sources path tab, once you click OK button.pot extension and save the file in a folder in your theme directory on this step name and save your POT file.Define the functions to be used to localize the text in files, _() and _e(). Enter the path for the folder which will be used by Poedit program to search for source files containing text you need to translate Note! Each tab in the Catalog Properties window should be filled. go to Catalog Properties window > Translation Properties tab > Fill in your project's information.once Poedit has been installed, open it, and go to File > New Catalog.to start your theme's localization you need to download and install Poedit.Localization becomes possible because of using GNU gettext framework for translation and such types of files as POT (Portable Object Template), PO (Portable Objects) and MO (Machine Objects) files. WordPress theme can also be localized by using Poedit program. go to Settings > General > Site Language option, and you will find the language you have just uploaded.once the file has been uploaded, go to the WordPress dashboard.Once connected, upload the language files to /wp-content/languages folder Connect to your website using an FTP client. download and unzip the language pack on your computer.repeat the same actions for Portable Object Message Catalog (.po) and then click on the Export link.in the dropdown, select Machine Object Message Catalog (.mo) and then click on Export link.go to the bottom until you see the Export section.you will be transferred to GlotPress (a web-based app used by WordPress team to manage and translate WordPress projects).click on the percentage value to see the status of the translation progress in your language and then click on current WordPress version.Check if there is a WordPress translation available for your language go to the WordPress translation teams page.Each language consists of two files: with. WordPress uses a gettext system for translations, where a main. If you do not see the language you want to use in the list, you can manually install language packs in WordPress. To do so, go to wp-content > themes > theme name > languages, where you should have the proper language files installed in this directory. after the language has been switched, you need to translate your theme.Choose the needed language in the dropdown menu and click Save Changes button at the bottom of your page you will find Site Language option.go to Settings > General in your theme's dashboard.WordPress offers a very easy option to change languages in your theme. Using plugins and other options listed below you can customize your site, add posts, create new tags or categories, and then easily change the language for each of them. Your site can attract more visitors from other countries. WordPress theme contains a localization option which allows to make your site bilingual or multilingual. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |