Skip to content Skip to sidebar

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 16 replies, has 3 voices.

Last updated by Vitomir Ognjanovic 3 years, 3 months ago.

Assisted by: Bruno Kos.

Author Posts
April 1, 2022 at 8:28 am #10927055

Vitomir Ognjanovic

Hi,

As I said in the subject, if I turn off Auto register strings for translation, strings show untranslated, and if I enable it everything works fine...for 2 hours.

April 1, 2022 at 11:39 am #10928901

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Hi, thanks for contacting us.

But you don't see any string translated, or it happens only for specific strings? If so, from which plugin the strings come from?

April 1, 2022 at 11:48 am #10929077

Vitomir Ognjanovic

No strings translated until I turn on Auto register strings for translation.

All strings are from theme.

April 4, 2022 at 7:44 am #10941297

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Can you try the following:
- WPML - > Support -> Troubleshooting:
--> Show custom MO Files Pre-generation dialog box

And then run "Generate .mo files" when it appears. Has it helped?

Regards,
Bruno Kos

April 4, 2022 at 9:28 am #10942625

Vitomir Ognjanovic

I've just done that, everything went without errors, but the problem still remains.

April 4, 2022 at 9:36 am #10942813

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Can I ask you the following? In order to debug this issue, I will install Duplicator plugin, will create packages and will try this on my localhost and escalate further to 2nd tier.

Also send me at least one screenshot to show me in the frontend where any of such strings don't show up (or URL would do).

I will exclude all the media files, etc, to keep the package minimal.

https://wpml.org/faq/provide-supporters-copy-site/

Let me know if this is OK with you.

If yes, I will need WordPress admin username and password so I could do this. I marked your next reply private so you can safely add this information.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Please make a full backup of your site before sharing this info!

Regards,
Bruno Kos

April 5, 2022 at 7:48 am #10950961

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

I get error 400 when trying to create Duplicator package, can you check with hosting what's happening there?
hidden link

And exclude media files (wp-uploads folder) when creating a package.

Regards,
Bruno Kos

scan error.jpg
April 5, 2022 at 11:21 am #10953149

Vitomir Ognjanovic

I'll setup a staging environent on our dev servers durring the day and send you access details.

April 5, 2022 at 11:54 am #10953575

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Ok, I marked your next reply private so you can safely add credentials for the staging site.

April 6, 2022 at 7:16 am #10960243

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

This is escalated to our 2nd tier team and may take some debugging time, I'll get back to you as soon as I have any news or questions for you.

Regards,
Bruno Kos

April 6, 2022 at 12:01 pm #10964005

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Can you install and activate this plugin?
https://wpml.org/download/contact-form-7-multilingual/?section=changelog

Does it help?

Regards,
Bruno Kos

April 6, 2022 at 12:10 pm #10964079

Vitomir Ognjanovic

I don't see how it could help, since string translation doesn't have anything to do with CF7 plugin, string translation doesn't work site wide, not just in the header.

None of the string translated in WPML String Translation is working in Serbian language, unless we enable Auto register strings for translation.

April 6, 2022 at 12:36 pm #10964481

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

I know it is a bit weird case, we were surprised too, but you can check hidden link now.

Technically this happens because of "Listo" plugin.

This plugin calls the following:

switch_to_locale( $locale );

and this unloads all localized .mo files for the sr_RS locale, as it calls it with "en_US".

Since this plugin is directly connected to CF, when you install CF7ML it filters the calls to switch the locale so it is necessary to have it.

April 6, 2022 at 12:50 pm #10964685

Vitomir Ognjanovic

Nope, it's not working on production, you can see for yourself hidden link

Plugin is installed and enabled.

April 6, 2022 at 12:55 pm #10964733

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Does it work if you clear all the caching cached by W3 Total Cache?