Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [po]

The tag has no usage guidance.

0
votes
1answer
23 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
1answer
26 views

Wordpress in French Language [closed]

I am migrating a French wordpress website. After completion the website keeps displaying special characters, specially the black diamonds with white question mark inside �. I have installed the PO ...
0
votes
0answers
15 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
37 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: /...
1
vote
0answers
25 views

How can i merge the translations from one .po file into the source on another .po file?

I'm creating a survey in several different languages and so have two .po files, one has the questions and the other has the translations. I wanted to combine the files so the translations are copied ...
0
votes
2answers
411 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
50 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 ...
1
vote
2answers
26 views

Install translation files that should survive updates [duplicate]

Someone prepared me a .po and a .mo file for a commercial theme we are using. How can I install them in such a way that future updates won't destroy them? Putting them into the languages folder was ...
-2
votes
1answer
51 views

change page name on page list

I'm looking for the way to changes terms on wordpress backoffice. exemple : pages name on list page. I don't found the .PO or .MO on wp-content/language/ to make changes. Do you have an idea?
0
votes
1answer
108 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 ...
0
votes
1answer
464 views

How to add links in .po (language) file in wordpress?

I am beginner in wordpress and I want to know how can I add links in .po file. Basically I am using Loco Translate to change language text in plugins and theme. But I need to add Login page link in ...
0
votes
1answer
2k views

plugin translation is not working

im working on translating a wordpress theme, i have translate all the language files even the related plugins files but then when i apply on my theme the words in my plugins langage files are not ...
0
votes
0answers
30 views

issue in translating a wordpress them

im working on translating a wordpress theme, i have translate all the language files even the related plugins files but then when i apply on my theme some words are translated and some not, this photo ...
1
vote
1answer
619 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) ...
2
votes
1answer
693 views

Getting translated string through a variable

I am translating a website into different languages, and I have the following problem: Through the backend, user can select via a dropdown, a value (text string) from a list of 50 options. This ...
1
vote
1answer
438 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 ...
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 ...
1
vote
1answer
162 views

WordPress po files

Hi all I have one problem. Po file doesn't work. I use qtransltae-x for translation. And I create custom pot file example # Copyright (C) 2015 Gawatt msgid "" msgstr "" "Project-Id-Version: Gawatt ...
0
votes
1answer
357 views

Adding theme strings to .PO file

I'm trying to translate some strings in a WP theme I'm using, but apparently there are some differences in the PHP code. Here's an example: <?php echo apply_filters( 'jobboard_job_posted_text', _n(...
0
votes
2answers
746 views

Override translation of 1 word

A few words in the WP Job Manager weren't translated yet. I edited most of them in de po file now but for the sentence "posted 5 hours ago" I can't find where to translate the "Hours" It's declared ...
0
votes
2answers
408 views

Adding a translation phrase to Wordpress Theme

I'm creating a custom Wordpress theme and I'm using exactly 3 phrases that I need to be translated according to the site language selected. I've digged a little bit through the Internet, but couldn't ...
0
votes
0answers
12 views

Translation of theme using PO files [duplicate]

We are currently building a site that needs to handle multiple languages. We are doing this using PO files. My question is, for the front-end user we will provide a language change facility. How do I ...
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
83 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
2answers
727 views

How to extract translatable (double underscores and _e) strings?

I made a custom theme and wonder how could I extract all translatable strings to a .po file so I can translate it. Do I need WPML plugin? Ex: I have a string "soccer" which is written as _e('soccer','...
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 ...
0
votes
1answer
1k views

Updating WordPress Theme/Plugin POT file without losing line numbers consistency

This is a recurrent problem I have when building WordPress Theme or Plugin: each new feature added to the code breaks the i18n files consistency. POT/PO files store the line number of the translated ...
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
0answers
122 views

Wordpress NavXT plugin localization

My situation is as follows: 1) I am using wordpress 3.6.1, and I have the Breadcrumb NavXT plugin installed. 2) I have a custom theme, and the localization file is on the following path: ...
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 ...
0
votes
1answer
524 views

Set parent theme language with custom .mo files

I am using Buttercream as my parent theme. I have translated the .mo file located in themes\buttercream\languages and saved it as nl_NL.mo and nl_NL.po. Now I want to display the parent theme in Dutch ...
0
votes
1answer
232 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
662 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
3k views

How to put a Worpdpress theme in spanish (having the po file)?

I am building a Wordpress blog system in Spanish and I'd like to have the default theme also translated to "es_ES". I am already running this Wordpress installation in Spanish. What I'd like to know ...
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 ...