Skip Navigation

[Résolu] Translate strings of select field

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 4 réponses, has 2 voix.

Last updated by mohammadD Il y a 3 années et 4 mois.

Assigned support staff: Luo Yang.


Tell us what you are trying to do? I want to translate the select field,

Is there any documentation that you are following? not yet i haven't find anything

Is there a similar example that we can see?i don't think so.

What is the link to your site?

i want to translate a select stores 1,2,3 in the database but i want to show different outputs , for example in english i show one ,two ,three and in persian i show یک،دو ، سه .


Luo Yang

Languages: Anglais (English ) Chinois simplifié (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)


I assume you using WPML to translate your website.

You just need to translate the option's "Display text" in custom select field created with Types plugin

For example:
1) Install WPML + WPML String Translation + WPML Translation Management
2) Dashboard-> WPML-> String translation
Select strings within domain: plugin Types (xx)
and search the option's "Display text", and translate it to what you want
3) Display it custom select field with Types shortcode:
For example:
[types field="my-select"][/types]
It will be able to display the translated text in different languages version.


i have done that and it appears that the selects won't change in the admin panel. i think what you mean is that they will display as translated in the front end when i use content templates or views right ?


Luo Yang

Languages: Anglais (English ) Chinois simplifié (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

The change should be able to take effect on wordpress admin side too, it should be able to translate the "Display text" of custom select field in different language, If the problem still persists, please provide a database dump file (ZIP file) of your website in below private detail box, also point out the problem page URL and the problem custom select field, I need to test and debug it in my localhost, thanks


Yeah as you said it was done. thanks to you i have a multi language website now