Skip Navigation

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

Last updated by Bobby 5 months, 1 week ago.

Author Posts
June 17, 2024 at 12:58 pm #15745408

desireeM

Background of the issue:
I am working on a site under development and trying to determine if a plugin that only includes a l10n.php file but no .mo files is supported by WPML. I want to know if the translated strings will be loaded correctly for that plugin.

Symptoms:
No specific issue or error message mentioned.

Questions:
Are plugins that only include a l10n.php file but no .mo files supported by WPML?
Will the translated strings be loaded correctly for a plugin that only includes a l10n.php file?

June 17, 2024 at 6:51 pm #15746738

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with first debugging steps or if I can perhaps help with the issue quickly.

We still don't officially support that, but we have a temporary workaround that might be useful in your situation:
https://wpml.org/errata/l10n-php-performant-default-translated-strings-not-displaying-correctly/

If that does not help, or you need additional information, one of my colleagues will soon come to continue support.

June 18, 2024 at 3:43 am #15747083

desireeM

This workaround doesn't work since the plugin does not include any .mo files but only the new l10n.php format

Are you working on adding support for it already or is this something that is more long term?

June 18, 2024 at 5:21 am #15747186

Bobby
Supporter

Languages: English (English )

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

Hi there,

While I cannot provide a timeframe of when a more permanent solution is provided I can confirm that it's currently an active task in our dev team's to-do list.

The topic ‘[Closed] Are .l10n.php supported by WPML?’ is closed to new replies.