The tag has no wiki summary.

learn more… | top users | synonyms (1)

2
votes
1answer
338 views

Adding another arg to comments_popup_link

what WordPress core functions do I have to modify to change comments_popup_link('Ni komentarjev', '1 komentar','% komentarjev') to comments_popup_link('Ni komentarjev', '1 komentar', **'2 ...
10
votes
5answers
5k views

Change the text on the Publish button

Is there a way to change the text of the publish button on a custom post type to say some different? For example, Save instead of Publish. And also remove the draft button?
2
votes
2answers
354 views

Working with l10n contexts (_x etc)

Basic l10n from a .mo file generated out of PoEdit works fine. But as soon as I introduce _x, or variants, the link breaks, because as best as I can tell, PoEdit, completely ignores the context, and ...
0
votes
0answers
45 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: ...
1
vote
2answers
757 views

Make theme translatable for WPML

I have been really hard time to get my site translated. I have MO and PO files, but my theme is not compatible with WPML and the developer team doesn't to change it. Therefore I may have to build a ...
0
votes
1answer
185 views

Using gettext to translate wp-login.php can't translate `Back to` into other language

I created a plugin to translate text of wp-login.php page into Arabic, every thing translated well except Back to which appear at the bottom of login form, I can't catch it to translate into Arabic ...
6
votes
2answers
2k views

HTML inside __() or _e() language translation string

What is the proper approach to building translation strings? For example, echo __( 'Hello ' . $first . ' you owe me money.' ); echo __( '<div><p>Top: ' . $t_margin . '</p>' . ...
0
votes
1answer
77 views

How to make the_tags title translatable?

How can I make the text in the_tags function translatable? Currently I'm using following: <?php the_tags('<div class="tags">Post Tags',' ','</div>'); ?> But I'd like to make ...
1
vote
1answer
20 views

Change / tweak existing wordpress translations

I have a WP that has a custom theme, and all the translations working fine. Now I (i.e. my client) would like to tweak some wordpress-provided translations that live in ...
5
votes
2answers
3k views

How-to: Translate plural forms for themes/plugins with PoEdit

As the title says: How would you translate... _n() _n_noop() _nc() _nx() _nx_noop() ...in your .mo files?
6
votes
2answers
1k views

Do Child-Themes automatically load the Translation from the Parent-Theme?

Is it enough to just create a child-theme - let's say technically without adding anything else but the bare minimum style.css - to have the translation of the parent-theme being used automatically for ...
0
votes
3answers
133 views

Translation for plugin

I modified a .po file, basically I opened as txt file and made the changes, however I uploaded it and is changes are not working. I wonder if I need an special software for doing and generate a new ...
0
votes
2answers
364 views

Translate wordpress plugin

Below is a small tutorial of translation from English To German. (You can change the it as your needs). in any plugin file, it has unique name in its header. /* Plugin Name: SampleTut ....... */ ...
0
votes
1answer
110 views

mo / po translation files does not seem to work

I have a theme that was bought from themefuse and they say it supports localisation using a plugin called CodeStyling Localization However even though I make the necessary steps to translate strings ...
0
votes
1answer
151 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 ...
1
vote
1answer
44 views

Translating plugin or locale file

I need to have custom translation for a single country and give people the option to select between it and english... is there a plugin to provide a alternate set of text for pages and posts? thanks
0
votes
2answers
2k views

Where is the right .mo file inside the language repository?

I need to translate my Wordpress in Italian. Following the instruction written on WordPress in Your Language, I've searched my .mo file inside the Language Repository but I've some problems. The ...
0
votes
1answer
230 views

Can't manage to make translate_user_role() work

I've been looking into wpse archives to solve my problem but I can't manage to do such a thing. I built this code : $args = array('fields' => 'all_with_meta'); $users = get_users($args); foreach ...
0
votes
3answers
136 views

English version of my site show french strings [closed]

This is a weird one : http://www.famille-labruyere.com/ is the french version of the site http://www.famille-labruyere.com/en/ is the english one The problem is that the english version show theme ...
0
votes
1answer
79 views

Renaming/translating “your profile” page

I need to rename/translate the "Your Profile" page. I've used the function below function pietergoosen_hoofskerm_vertaling( $translated ) { $words = array( 'Name' => 'Naam', ...
0
votes
1answer
463 views

setlocale for date

So I purchased a premium wordpress theme, but I can't get through its Polish localization - the dates outside the_time or the_date are displaying in English (default server's language). I read that I ...
1
vote
1answer
102 views

How to create a theme specific translation of buddypress? [closed]

Originally asked on the BuddyPress forums: For distribution purposes I would like to include my customized buddypress language files in my theme alongside my other language files. No matter what I ...
0
votes
0answers
161 views

Google Language Translator - Manage Translation

I installed Google Language Translator wordpress plugin. How can I manage it's translation (https://translate.google.com/manager/website). I can manage the translation if not using a plugin, but ...
0
votes
1answer
481 views

How to translate placeholder?

I don't know how to translate text that I use as placeholder for my comment form. I have a function in my function.php file where is defined how comment form should look like. Here is example of that ...
0
votes
1answer
233 views

Website in multiple Language

I want to make Sit in Wordpress in which I want to make content in ENglish and Gujrati Language . WHen Admin create a Page in English at that time Admin want to create content with Gujarati Language. ...
7
votes
1answer
1k views

How to integrate get_post_time with date_i18n function?

I have date format and would like to translate to another language with date_i18n function how can I integrate with get_post_time here is my code : $time = get_post_time('F j, Y', ...
0
votes
2answers
76 views

Borrowing of Previously Translated Strings by Child Plugin

Gist: When writing an extension of a plugin, can the extension "borrow" the translations of the req'd parent plugin by using it's textdomain? Scenario: Let's say that there's a parent plugin, whose ...
0
votes
1answer
57 views

Archive widget numbers translation?

I've translated my theme successfully. Yet, there are some part that I couldn't find out how to translate them. I've done a tutorial to Translate or convert WordPress date/time/comment number into my ...
1
vote
1answer
626 views

Creating a custom multilingual form

I need to create a special form for my website where users cand specify a series of data including some textfields, combo boxes and sliders (from 0 to 100). Also I need this form to be qTranslate ...
3
votes
2answers
375 views

What is the purpose of adding a .po file?

I added the below code to the function.php of a .po file and finished localization and edited the webconfig.php to add Arabic language but nothing happened. I want to know what should happen. Will the ...
0
votes
2answers
78 views

Translate Woosidebars plugin strings

I'm trying to translate Woosidebars strings in french using PoEdit but my french strings are never shown on the front-end. English strings are always displayed, even when I change the language (And I ...
1
vote
0answers
51 views

translation does not work for 'Home'

Using the birdtips theme, translation of messages generally works, with some minor omissions. When I click on a page, a new line appears below the header image saying Home >> MyPage Now, ...
0
votes
1answer
2k views

month name translation

I use the birdtips theme and it formats the post date as $birdtips_posted = date(__('Y. F j.', 'birdtips'), strtotime(get_the_time("Y-m-d"))); where Y. F j. is already rewritten to reflect my ...
3
votes
1answer
546 views

what's different between _x() and _()

What's different between _x() and _(). For example: if a1 can translate as: a1 has meaning x1; a1 has meaning x2; How _x() function to get value x1 or x2?
1
vote
3answers
9k views

Different Language for Frontend and Backend

I use a English WordPress package and this is very well. Now, I would like to translate some elements of the blog (like "posted on", "comments") etc, but do leave the dashboard interface intact in ...
0
votes
1answer
782 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 ...
7
votes
1answer
4k views

How to make a WordPress plugin translation ready?

What is the best way create a plugin that is translation ready? It doesn't have to be translated from the beginning but it has to be easily translatable so fellow developers from different cultures ...
0
votes
1answer
108 views

Theme Translation?

I've download a theme called Contango from Wordpress Themes Repository. The theme have a folder called "languagues" and have a file called "contango.po". I could open that file and do translation, but ...
0
votes
1answer
97 views

Does the textdomain have to be the theme's name?

Does a theme's text domain have to be the actual theme name? If you develop WP themes, couldn't you just use the same name (perhaps your business name) for all the theme's you develop, making it ...
1
vote
0answers
163 views

Wordpress translation loading english file

I am trying to translate a wordpress site but whatever I do the english file is always loaded. In functions.php I've set load_theme_textdomain('twentyeleven', get_template_directory() . ...
1
vote
2answers
859 views

How to translate __('') strings in admin

What would be the best plugin to use for translating website. Thing is - i installed one multilingual plugin, but it does not pick up strings from templates. For example - the template has stuff lke ...
0
votes
2answers
434 views

How to define theme translation file?

If I have WordPress installation in English, then I can define my theme translation file in the wp-config.php file with following: define('WPLANG', 'sv_SE'); But if I have WordPress installed in ...
2
votes
2answers
96 views

Should i use _n for pronouns in translation?

I use _x() now! I accepted the answer just because he understood right and was first. So don't get confused! $like_me_on = __('Like me on %s', 'my-plugin'); $like_us_on = __('Like us on %s', ...
3
votes
1answer
603 views

Overwrite textdomain of plugins by default - Lost Translation

Wordpress is awesome, but there is something that is driving me crazy. Whenever a plugin or a theme is updated, all files are deleted and replaced. So if I have custom code or a translation in one ...
0
votes
1answer
382 views

WPML icl_register_string() throws fatal error but works [closed]

I'm helping someone with a custom plugin and they need it to be WPML compatible. Using the method from WPML I was able to register a string in WPML and output it on the other end. However, when the ...
0
votes
1answer
68 views

Display Today's date outside the loop?

Is there any way to display the Today's date outside any loop/post using WordPress date/time function instead of using the PHP date() function? I'm using the PHP date() function but it does not ...
0
votes
1answer
5k views

Custom strings for translation using Polylang plugin

I'm using WP 3.5 and Polylang 0.9.8 plugin to make translations to different languages. All is good, and the plugin works fine, but now I'm facing a problem -- I need to translate custom strings, for ...
0
votes
1answer
516 views

Using Variable in WordPress Translate Functions

From everything I've read, you should only translate text strings via the WP translation functions like _e() or __(). However, I need a way to translate content submitted via a form. Is there some ...
0
votes
1answer
1k views

Change language of comments template

I have a Wordpress installation in italian, I need to keep italian for the admin section but the frontend needs to be in english. The theme is custom so that's ok, but in single posts I'm using ...
2
votes
1answer
133 views

Making a configurable field translatable

I'm working on a theme right now that gives the admin the possibility to set different texts that are used within the theme, by configuring them in the admin panel (e.g. the text that is displayed, ...