Check Sudoku - Unity Tutorial - 7. Hint legend, State persistence, Localization
In the previous step we implemented hints . In this one we will add a legend for the hints, state persistence, and translation of the application to other languages (localization): Implementation Let's start from localization. Following this tutorial we install Localization package, add locale for languages: English (default), German, and Polish. We fix the names of all application strings, and add their translations. Next, we "Localize" each text element, and select the correct translation. We also add the option to change language in our settings panel. To do that we add a toggle group, containing: HorizontalLayoutGroup - to automatically place the toggles ToggleGroup - to make sure only toggles are exclusive Each toggle is a Toggle element, with a text field replaced by an image, with icon downloaded from pixabay.com ( english-flag , german-flag , polish-flag ) We add a script with localeName property and (so far empty) click handler to the language toggle ( Language...