Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You encountered a critical error when trying to access the 'Theme and plugins localization' feature in WPML. The error message indicated an 'Unknown format specifier 't'' in a specific file related to WPML String Translation.
Solution:
We recommend checking if this issue is related to a known problem with plugins registering a text domain incorrectly. You can find a workaround for a similar issue on our errata page: https://wpml.org/errata/flux-checkout-fatal-error-uncaught-valueerror-unknown-format-specifier-t/.

If this solution does not apply to your case, or if it seems outdated, we highly recommend opening a new support ticket. Additionally, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can also visit our support forum at https://wpml.org/forums/forum/english-support/.

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.

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by Andrey 1 month ago.

Assisted by: Andrey.

Author Posts
June 13, 2025 at 12:20 pm #17133210

martinV-57

Background of the issue:
I was trying to access the 'Theme and plugins localization' feature in WPML. When I clicked on it, I encountered a critical error. The error details are as follows: An error of type E_ERROR was caused in line 100 of the file /home/dasacohavu3386/web/pakstuudio.instawp.xyz/public_html/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php. Error message: Uncaught ValueError: Unknown format specifier 't'.

Symptoms:
I received a critical error message when attempting to use the 'Theme and plugins localization' feature. The error message included: 'Uncaught ValueError: Unknown format specifier 't''.

Questions:
What is causing the critical error when I click on 'Theme and plugins localization'?
How can I resolve the 'Unknown format specifier 't'' error?

June 14, 2025 at 8:56 am #17135160

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

It looks like you might be experiencing a known issue. Please try the workaround provided on this page:
https://wpml.org/errata/flux-checkout-fatal-error-uncaught-valueerror-unknown-format-specifier-t/

Even if you’re not using the exact plugin mentioned, a similar issue can be triggered by other plugins registering a text domain incorrectly.