The Localization Tool comes with some handy functions to control localization in your game:
FText Text = LOCALIZATION_TEXT("SwitchButton_en");
The parameter in LOCALIZATION_TEXT is the key in the csv configuration table, which will be searched and assigned from all CSVs.
But if you have duplicate keys, this method may produce incorrect results.
FText Text = NLOCALIZATION_TEXT("DemoLocalization", "SwitchButton_en");
NLOCALIZATION_TEXT:This method is more optimized and can search more accurately.
Returns a list of language codes that the system can use. This is derived from multiple language-xx columns in the csv file.
GET_LOCALIZATION_TOOL().GetAvailableLanguages();
ULocalizationToolLibrary::GetAvailableLanguage();
Returns the code of the language currently in use.