o make the dropdown translate based on the user’s selected language without plugins, you can set up conditional statements for each dropdown option. Here’s how:
- Set Up Conditions: In the dropdown settings, create conditions for each language. For example, if the user selects Dutch, you can conditionally set the dropdown choices to the Dutch translations.
- Use Language Settings or Custom States: Store the user’s language preference in a custom state or database field and apply conditional logic to the dropdown choices based on this setting.
If you’re not seeing the right options under conditions, make sure the dropdown’s data source supports dynamic conditional logic. This approach will allow your dropdown to switch languages without needing additional plugins.
1 Like