Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the disable-gutenberg domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php on line 6131

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the js_composer domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php on line 6131

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902
{"id":17895,"date":"2019-02-18T17:03:59","date_gmt":"2019-02-18T11:03:59","guid":{"rendered":"http:\/\/wp\/?page_id=17895"},"modified":"2020-07-09T08:27:44","modified_gmt":"2020-07-09T08:27:44","slug":"translation","status":"publish","type":"page","link":"https:\/\/www.salephpscripts.com\/wordpress-mapbox\/demo\/documentation\/translation\/","title":{"rendered":"Translation"},"content":{"rendered":"
\n

Translation<\/h2>\n

MapBox Locator plugin is ready for use in any languages. The languages\/<\/em> folder contains W2MB-en_US.po file, which is used for translations. The process of translation is quite similar to modifying texts<\/a> with PoEdit<\/a> application. The only difference is that before translation you need to duplicate W2MB-en_US.po file and give a name to new file according to following rules:<\/p>\n

    \n
  1. On WordPress Settings -> General<\/em> page select needed site language.
    \n<\/p>\n
  2. Make a copy of the W2MB-en_US.po<\/em> file and rename it to W2MB-WP_LOCALE.po<\/em> according to your WP Locale<\/a><\/li>\n
  3. Example for the Portuguese Brazil language: W2MB-pt_BR.po<\/em>
    \n -- pt_BR - is the WP Locale, it means Portuguese (Brazil) language
    \n -- you'll have to fill in with your own language, the list of WordPress locales
    here<\/a><\/li>\n
  4. Download and install Poedit<\/a>.<\/li>\n
  5. Open with Poedit W2MB-pt_BR.po<\/em> file.<\/li>\n
  6. Now you can find and modify any needed words and texts.
    \n<\/p>\n
  7. Every time you save translated W2MB-WP_LOCALE.po<\/em> file, PoEdit automatically generates W2MB-WP_LOCALE.mo<\/em> file, which is the one WordPress uses and basically the only one you need to upload to your site<\/strong>.<\/li>\n
  8. Upload generated W2MB-WP_LOCALE.mo<\/em> file and saved W2MB-WP_LOCALE.po<\/em> file to your site into wp-content\/languages\/plugins\/<\/em> folder. You can use FTP client or FTP manager of your hosting.<\/li>\n<\/ol>\n<\/div>\n
    \r\n

    Table of Contents<\/h4>\r\n