Change language

Hi. Sometimes when I want to change language from russian to english, when I press ‘Endlish’ button, nothing happens. But if I press ‘Русский’ and then ‘English’ - it works and change language immediately. Can’t understand why is this happening

Greetings amazingDeveloper, thank you for posting your question.

This is an interesting subject and I may need additional information from you if possible.

I would like to ask: When you press play, what is the current culture value? If it is already English, then we cannot expect a change to occur. When I tested on my end, it was EN so pressing EN wouldn’t make a difference.

Logic:
On your button press, you could check if the current culture is equal to the culture value you’re trying to set.

If it is equal, you could add some kind of logic to show feedback so the player understands that value is already selected. You could have this check happen in the background too. Here is a quick check I do for reference.

I would also consider making a string variable for your culture variables if possible.

I hope this helps

1 Like

Hi guys. Thank you for the help. The final solution I’m using, only needs 1 button. Just in case of someone having the same doubt.