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.
- Android - Device Language. Unity queries the Android getDefault value.
- System Culture. Unity uses the CultureInfo.CurrentUICulture value.
- System Language. Unity uses the SystemLanguage 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
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.
Delegates
LocalizedStringDatabase.MissingTranslation