A .mo
file is the machine readable Version of a .po
file, which in turn holds the translation of a .pot
file.
Hence, the latter is what you want to have in the first place.
And if it is your theme you want to localize, you certainly do not need a random plugin’s simplified Chinese .mo
file…
Using either, poedit, any other gettext application or the Codestyling Localization Plugin, you analyze your theme’s PHP, a .pot
file is created automatically and it is then that you can start creating translation files, one .po
and .mo
per language.
Also, add a /languages/
folder to your theme (or plugin), rather than attempting to use wp-content/languages
.
You might benefit from carefully reading the I18n for WordPress Developers codex article.
Related Posts:
- Open Source replacement for WPML? [closed]
- [Plugin WPML] : How to create a translation of a post using the WPML API?
- gettext does not translate when called in ajax
- Gettext details
- Best pratice to make taxonomy terms translatable without changing slugs?
- Integrating Nextgen Gallery with Gallerific
- Make theme translatable for WPML
- How to show only images with a certain tag with NextGEN gallery plugin?
- How to create additional thumbnails of custom size in nextgen gallery while uploading images? [closed]
- WPML Translated Term
- NextGen Gallery different thumbnail size per gallery
- Fetch ID’s associated with a custom post type when translated with WPML?
- Open NextGen gallery in same page?
- Should I include colon in my msgid in PO file?
- WPML custom string translation get outside of container
- Default string not appearing want to translate
- NextGEN Gallery preview / Show specific images [closed]
- Pass number of images as parameter to NextGen Gallery
- Can I open a Nextgen gallery into a lightbox from an album listing page
- How to disable pagination on a gallery template?
- How to save post with different languages and linked them with WPML?
- How to Translate a string of an array inside a class?
- How to translate WordPress Emails?
- Fixed values for same post translations
- Nginx config for NGG / NextGen Gallery [closed]
- English version of my site show french strings [closed]
- Using Variable in WordPress Translate Functions
- How can i count the images that are atacht to NextGEN Gallery
- Make dynamic string translatable
- Prevent plugins loading on all pages (Next-gen Gallery)
- Translate arguments of a user added custom code [closed]
- WPML language tags (Qtranslate feature) [closed]
- NextGen stylesheets looking for localhost [closed]
- NextGen Plugin: on finding images tags [closed]
- Borrowing of Previously Translated Strings by Child Plugin
- WPML icl_register_string() throws fatal error but works [closed]
- WordPress Translation to french, at -> à not working
- How do I create a NextGen slideshow to show all photos?
- nextgen gallery – filenames’ character encoding issue
- Internationalize plugin so strings can be translated in WPML [closed]
- WP-e-commerce (getshopped) Hebrew language files – where can I get them? [closed]
- Translate custom template with WPML
- Nextgen gallery show thickbox/shutter from link instead of image [closed]
- NextGen Gallery + GalleryView by John Brien Plugins
- problem with plugins installation (quite beginner)
- How to automatically translate plugin using translate.wordpress.org
- Making WP theme / plugin multii-lingual without plugins
- Structure of multilingual and multiregional directory listing website for translation
- Translate string inside twig template
- WordPress custom block compatability with WPML
- multisite not displaying thumbnail image after upload in nextgen gallery
- Present NextGen Gallery album through link [closed]
- WPML admin texts with serialized objects
- NextGEN Gallery – set lightbox image size
- Translate placeholder text in search field
- How to increase the thumnail size of nggallery carousel template
- next gen gallery thumbnail problem
- Does WPML translate numbers automatically, or do I have to do the string translation? [closed]
- ACF + WPML: How to translate date fields?
- NextGEN Gallery styles don’t work [closed]
- NextGen Gallery quality, down-sizing and speed issues [closed]
- WPML & Events Manager translatable fields after duplication
- WPML – how to translate user profile fields with icl_t()? [closed]
- How to translate the blog date in the Avada theme [closed]
- How to find posts that are missing translation? (wpml)
- Handling gettext / string translation when WP is installed in subfolder
- What is ‘\0’ in C++?
- Translation problem with timber and WPML (WordPress, different language per domain)
- How to create .pot files with POedit?
- Translate a plugin using .po .mo files
- HTML inside __() or _e() language translation string
- When to use _e and __ for the translation?
- Change the text on the Publish button
- What is a Theme textdomain?
- How to make a WordPress plugin translation ready?
- Change language by clicking a button
- Theme localization of “slugs” (custom post types, taxonomies)
- Override default WordPress core translation
- pass object/JSON to wp_localize_script
- Different Language for Frontend vs Backend
- Best WordPress Multi-language Plugin? [closed]
- Override parent theme translation on child theme
- Setting WPLANG from a plugin
- How to get a translated string from a language other than the current one?
- Is it ok to use a function to output the text domain name in a wordpress theme
- Custom strings for translation using Polylang plugin
- Translate widget titles using qTranslate plugin
- Is a text-domain necessary for a child theme
- How to print translation supported text with HTML URL
- How to get a localized version of WordPress from a repository?
- Localization: I want the backend: english and frontend in defined language
- Working with l10n contexts (_x etc)
- How-to: Translate plural forms for themes/plugins with PoEdit
- generating po mo translating files from scratch in a wordpress theme
- How can I manually upgrade translations?
- WPML with WP_Query serving up all 3 languages [closed]
- Do Child-Themes automatically load the Translation from the Parent-Theme?
- Filter translations (gettext strings) on specific admin pages
- How to integrate get_post_time with date_i18n function?
- How to debug failed load_theme_textdomain()?