Questions tagged [mo]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
32 views

Child Theme Translations with PoEdit

What I'm doing I am translating a child theme and followed the instructions on https://developer.wordpress.org/themes/advanced-topics/child-themes/#internationalization. What I did so far Step 0 ...
0
votes
0answers
16 views

Get all strings from all plugins

I'm trying to develop a plugin to override any translation from any plugin directly from wp-admin. In order to do this, I need to get the strings from any given plugin, and also the translations (in ...
1
vote
1answer
39 views

Change template copy with po/mo files

I just got my hands on a WordPress site and i'm trying to edit some words from a theme login template, so I went to cPanel to check how the theme templates handle the copy and I found the pt_PT.po ...
3
votes
2answers
30 views

Problems with localization

I'm creating a plugin and I've put: define ('WPLANG', 'it_IT'); into wp-config.php file. After plugin Name in the Header of the Plugin declaration: * Text Domain: endpoint * Domain Path: /...
0
votes
2answers
444 views

Language files are not loaded in production

I made changes to my website and it became multilingual locally. I'm using qTranslate-X plugin. I deal with PT and EN. I used __() and _e() functions for strings and POEdit for creating .po and .mo ...
1
vote
1answer
55 views

'Trick' a plugin (WP-Members) to think the blog language has changed for a single page

I'm trying to avoid installing a full blown multi-language plugin on my site, and I'm nearly there. Just one thing, I need to control whether this plugin – WP-Members – are getting translated or not ...
0
votes
1answer
121 views

POEDIT - Continue with translations

I'm translating my web from English. I already found some .po and .mo translations in my language, but translations are not completed, so some texts are still in English. Thing is, that when I open ...
1
vote
1answer
656 views

Generate PO File

I wish to localize some text in my child theme. I followed the instructions here: https://codex.wordpress.org/Child_Themes#Internationalization However, I just created empty po files (eg: he.po) ...
1
vote
1answer
475 views

Load plugins'.mo and .po files from a directory

What I'm trying to do is simple: I have so much WordPress plugins, and 3/4 of them aren't translated in my language, so I want and can translate them all without problems, but I would insert ...
3
votes
2answers
1k views

change only the theme language

My wordpress admin is in french. and my theme is in arabic. i have two files mo : arabic and french. i used this : add_filter( 'locale', 'change_locale' ); function change_locale(){ return 'pt_AR'; }...
0
votes
1answer
458 views

load language file

I want to load my French language file into my Arcade Basic theme. There is a language file, arcade.pot, and I translated it using PoEdit. I don't know how to add it, there is a function, in functions....
0
votes
1answer
39 views

Language Pack not working

I download latest translated WordPress pack and wish to change my website to my language. I uploaded language folder to wp-content and adding define ('WPLANG', 'bn_BD') to wp-config file but no ...
0
votes
1answer
410 views

Locale changed but plugin still showing default language

I'm changing the locale using the locale filter. I've tried various methods; creating a plugin and hooking into filter, declaring locale filter hook in the functions.php file, and even as simply as ...
0
votes
0answers
73 views

Language & translation

I have purchased the SoCute WP theme and as default it's in English. I want it to be in Swedish, so I have made updates to the wp-config.php file: define('WPLANG', ’sv_SE’); and I have uploaded ...
2
votes
2answers
85 views

Translation-readiness of Koi theme

I am migrating a (non-English-language) blog using the Koi theme on WordPress.com to a self-hosted environment, but see that certain strings are no longer being translated. For example, if my wp-...
2
votes
3answers
5k views

How to tell a theme to use different .mo and .po files?

I have a theme which loads .po and .mo files to display strings in English. I want to have only one language (Polish), but those two files are en_US. I tried replacing content in the en_US.po file but ...
7
votes
3answers
11k views

generating po mo translating files from scratch in a wordpress theme

Maybe I'm missing something here but I really can't find any answer to my question around the web. I am creating a new wordpress theme from scratch (literally from scratch) and would like to create ...
0
votes
2answers
1k views

where to set the PO file for a plugin?

I have a Cimy user plugin and I want to make translations and then force the Cimy user to read from my translation. Should I define the language in wp-config.php in the root folder? I do not know ...
1
vote
1answer
1k views

Theme localization in WPML - .mo file error [closed]

We are creating a multi-lingual multi-site (on sub-domains/domain mapping) on Wordpress. We recently bought WPML Wordpress plugin and installed it on the basic language (English) version. Now we are ...
0
votes
1answer
233 views

WordPress Translation to french, at -> à not working

I have a german / french blog. I installed the german WordPress version, so I already had de_DE.mo and de_DE.po in wp-content/languages. After I realized that the content of a comment's <time>-...
1
vote
1answer
598 views

Action hook load_textdomain $domain variable

I use the load_textdomain action hook to list all active localization text domains with corresponding path to translation files. function mo_location( $domain, $mofile ) { if ( !is_array($...
1
vote
1answer
665 views

Wordpress Multilingual Theme using Multisite

I have a site that needs to be billingual, English and French. I've created two sites in WPMU, and set the language settings of the second to fr_FR. Under the directory: /wp-content/languages/ I ...
1
vote
1answer
6k views

Translated my theme (translation not showing up)

I read a lot about what is the optimal to translate your website (french and english in my case) I set up a Multi site where I created two site one french mywebsite.com/fr and one in english ...
1
vote
1answer
1k views

Localization: Textdomain of Child teme

I am creating a series of WP child themes which are dependent of a parent theme which I will be using as a framework. I need to have these themes (both parent and children) localized. from http://...
1
vote
1answer
273 views

POMO_Reader->substr() call endless loop?

I'm experiencing a somewhat endless loop in the file mo.php /wp-includes/pomo/mo.php when loading the site's default text domain. The PHP error is: Fatal error: Maximum execution time of 30 ...