This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 7 replies, has 2 voices.

Last updated by Bobby 2 weeks, 3 days ago.

Assigned support staff: Bobby.

Author Posts
August 23, 2019 at 1:32 pm

Дмитрий Яблонский

Hi, I use AJAX Login and Registration modal popup DEV + inline form and I translate string - hidden link

But in site it stil english - hidden link and click - hidden link see - hidden link

August 23, 2019 at 5:00 pm #4448909

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi There,

the string is registered under the following domain and context name

admin_texts_lrm_messages [lrm_messages][registration]heading

after translating it , the front end showed up as expected

August 24, 2019 at 4:50 am #4450945

Дмитрий Яблонский

hm, how you find it? I tried find by search in string translation..... but didnt

August 24, 2019 at 8:13 am #4451071

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

You can search for "New Account"
and it should be listed under the domain "admin_texts_lrm_messages" as shown in my screenshot

or you can go to String translation -> Select strings within domain -> "admin_texts_lrm_messages(47)" and there you will see all 47 strings under that domain

example string " Security token is expired! Please refresh the page!"

September 1, 2019 at 5:06 am #4492029

Дмитрий Яблонский

Hi, I read article - https://wpml.org/documentation/getting-started-guide/language-setup/setting-the-wordpress-administration-language/

I want this behavior - user select frontend language (wpml) and automaticaly changed backend (admin language). I found that wpml not support thise function.

So, I try do it my self:

add_filter(‘locale’, ‘wpse27056_setLocale’);

function wpse27056_setLocale($locale) {

if ( is_admin() ) {

return ‘en_US’;

}

This process will change the language showed in the WordPress admin to the United States’ version of the English language

next I need change this step: if ( is_admin() ) {

how I can determine current frontend language (wpml)?

September 2, 2019 at 6:51 am #4494843

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Please review the following documentation that goes over our WPML Hooks

i have linked the hook that will give you the current language
=-> https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/#hook-605535

as the original issue has been resolved and we try to keep each ticket to 1 issue i will be marking this ticket as closed if confirmed

please do let me know if you have any further questions

September 2, 2019 at 11:28 am #4496529
Дмитрий Яблонский

yes, thanks.

Help me please - I need rename menu item, in ru and de, but in en - I can't - hidden link How do thise?

New threads created by Bobby and linked to this one are listed below:

https://wpml.org/forums/topic/split-plugin-not-load-po-mo-translate/

September 3, 2019 at 7:52 am #4501769

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

as we try to keep each ticket to 1 issue minimum and the original issue in this ticket has been resolved i have opened a new ticket for the new issue regarding the menu item translation and we can mark this one as resolved

new ticket : https://wpml.org/forums/topic/split-plugin-not-load-po-mo-translate/