Namespace UnityEngine.Localization.Settings
Classes
CommandLineLocaleSelector
Allows for setting the Locale through a command line argument when launching the application.
LocalesProvider
Responsible for providing the list of locales that are currently available to this application.
LocalizationSettings
The localization settings is the core component to the localization system. It provides the entry point to all player based localization features.
LocalizedAssetDatabase
The Localized Asset Database provides a single point of access for all localized assets.
LocalizedDatabase<TTable, TEntry>
Provides common functionality for both string and asset table fetching.
LocalizedStringDatabase
Handles loading strings and their tables for the selected locale.
PlayerPrefLocaleSelector
Uses the Player Prefs to keep track of the last used locale. Whenever the locale is changed, the new Locale is recorded in the Player prefs.
SpecificLocaleSelector
Returns the a specific locale if it exists.
SystemLocaleSelector
Attempts to detect the locale of the device and find a match. The System Locale Selector queries different APIs until it finds a matching locale or a suitable fallback locale.
- iOS - Preferred Language. Unity queries the [iOS Preferred Language](https://developer.apple.com/news/?id=u2cfuj88).
- Android - Device Language. Unity queries the [Android getDefault](https://developer.android.com/reference/java/util/Locale#getDefault(java.util.Locale.Category)) value.
- System Culture. Unity uses the [CultureInfo.CurrentUICulture](https://docs.microsoft.com/en-us/dotnet/api/system.globalization.cultureinfo.currentuiculture) value.
- System Language. Unity uses the [SystemLanguage](https://docs.unity3d.com/ScriptReference/SystemLanguage.html) value as its final check.
Structs
LocalizedDatabase<TTable, TEntry>.TableEntryResult
Contains the results of a request. The found entry and the table the entry was found in, this may be different if a fall back occurred.
Interfaces
IInitialize
Indicates that an extension requires an Initialization callback.
ILocalesProvider
Holds the Locale's that the project supports.
IReset
Provides a reset callback which can be used to reset the internal state when exiting edit and play mode.
IStartupLocaleSelector
Determines what locale should be used for the SelectedLocale when the application starts or does not currently have an active SelectedLocale.
ITablePostprocessor
Gets a notification when a StringTable or AssetTable completes loading.
ITableProvider
Can be assigned to TableProvider to override the default table loading through Addressables in order to provide a custom table.
Enums
AsynchronousBehaviour
Options for how to handle asynchronous operations.
FallbackBehavior
Options for the different fallback behaviours that are available.
MissingTranslationBehavior
Options for how to handle a missing translation.
PreloadBehavior
Determines which tables, that have been marked as preload, will be loaded during the preloading step.