Skip to content

Commit

Permalink
Feat: Local Setting
Browse files Browse the repository at this point in the history
  • Loading branch information
fkdl0048 committed Oct 14, 2023
1 parent b2faca4 commit 1ad47b2
Show file tree
Hide file tree
Showing 4 changed files with 528 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Assets/Locale.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

205 changes: 205 additions & 0 deletions Assets/Locale/Localization Settings.asset
Original file line number Diff line number Diff line change
@@ -0,0 +1,205 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a07b5cd0b1b829245bc8c4b6978793e8, type: 3}
m_Name: Localization Settings
m_EditorClassIdentifier:
m_StartupSelectors:
- rid: 5862241180198109184
- rid: 5862241180198109185
- rid: 5862241180198109186
m_AvailableLocales:
rid: 5862241180198109187
m_AssetDatabase:
rid: 5862241180198109188
m_StringDatabase:
rid: 5862241180198109189
m_Metadata:
m_Items: []
m_ProjectLocaleIdentifier:
m_Code: en
m_PreloadBehavior: 1
m_InitializeSynchronously: 0
references:
version: 2
RefIds:
- rid: -2
type: {class: , ns: , asm: }
- rid: 5862241180198109184
type: {class: CommandLineLocaleSelector, ns: UnityEngine.Localization.Settings, asm: Unity.Localization}
data:
m_CommandLineArgument: -language=
- rid: 5862241180198109185
type: {class: SystemLocaleSelector, ns: UnityEngine.Localization.Settings, asm: Unity.Localization}
data:
- rid: 5862241180198109186
type: {class: SpecificLocaleSelector, ns: UnityEngine.Localization.Settings, asm: Unity.Localization}
data:
m_LocaleId:
m_Code: en
- rid: 5862241180198109187
type: {class: LocalesProvider, ns: UnityEngine.Localization.Settings, asm: Unity.Localization}
data:
- rid: 5862241180198109188
type: {class: LocalizedAssetDatabase, ns: UnityEngine.Localization.Settings, asm: Unity.Localization}
data:
m_DefaultTableReference:
m_TableCollectionName:
m_CustomTableProvider:
rid: -2
m_CustomTablePostprocessor:
rid: -2
m_UseFallback: 0
- rid: 5862241180198109189
type: {class: LocalizedStringDatabase, ns: UnityEngine.Localization.Settings, asm: Unity.Localization}
data:
m_DefaultTableReference:
m_TableCollectionName:
m_CustomTableProvider:
rid: -2
m_CustomTablePostprocessor:
rid: -2
m_UseFallback: 0
m_MissingTranslationState: 1
m_NoTranslationFoundMessage: No translation found for '{key}' in {table.TableCollectionName}
m_SmartFormat:
rid: 5862241180198109190
- rid: 5862241180198109190
type: {class: SmartFormatter, ns: UnityEngine.Localization.SmartFormat, asm: Unity.Localization}
data:
m_Settings:
rid: 5862241180198109191
m_Parser:
rid: 5862241180198109192
m_Sources:
- rid: 5862241180198109193
- rid: 5862241180198109194
- rid: 5862241180198109195
- rid: 5862241180198109196
- rid: 5862241180198109197
- rid: 5862241180198109198
- rid: 5862241180198109199
m_Formatters:
- rid: 5862241180198109193
- rid: 5862241180198109200
- rid: 5862241180198109201
- rid: 5862241180198109202
- rid: 5862241180198109203
- rid: 5862241180198109204
- rid: 5862241180198109205
- rid: 5862241180198109206
- rid: 5862241180198109207
- rid: 5862241180198109191
type: {class: SmartSettings, ns: UnityEngine.Localization.SmartFormat.Core.Settings, asm: Unity.Localization}
data:
m_FormatErrorAction: 0
m_ParseErrorAction: 0
m_CaseSensitivity: 0
m_ConvertCharacterStringLiterals: 1
- rid: 5862241180198109192
type: {class: Parser, ns: UnityEngine.Localization.SmartFormat.Core.Parsing, asm: Unity.Localization}
data:
m_OpeningBrace: 123
m_ClosingBrace: 125
m_Settings:
rid: 5862241180198109191
m_AlphanumericSelectors: 1
m_AllowedSelectorChars: _-
m_Operators: '[]().,'
m_AlternativeEscaping: 0
m_AlternativeEscapeChar: 92
- rid: 5862241180198109193
type: {class: ListFormatter, ns: UnityEngine.Localization.SmartFormat.Extensions, asm: Unity.Localization}
data:
m_Names:
- list
- l
-
m_SmartSettings:
rid: 5862241180198109191
- rid: 5862241180198109194
type: {class: PersistentVariablesSource, ns: UnityEngine.Localization.SmartFormat.Extensions, asm: Unity.Localization}
data:
m_Groups: []
- rid: 5862241180198109195
type: {class: DictionarySource, ns: UnityEngine.Localization.SmartFormat.Extensions, asm: Unity.Localization}
data:
- rid: 5862241180198109196
type: {class: ValueTupleSource, ns: UnityEngine.Localization.SmartFormat.Extensions, asm: Unity.Localization}
data:
- rid: 5862241180198109197
type: {class: XmlSource, ns: UnityEngine.Localization.SmartFormat.Extensions, asm: Unity.Localization}
data:
- rid: 5862241180198109198
type: {class: ReflectionSource, ns: UnityEngine.Localization.SmartFormat.Extensions, asm: Unity.Localization}
data:
- rid: 5862241180198109199
type: {class: DefaultSource, ns: UnityEngine.Localization.SmartFormat.Extensions, asm: Unity.Localization}
data:
- rid: 5862241180198109200
type: {class: PluralLocalizationFormatter, ns: UnityEngine.Localization.SmartFormat.Extensions, asm: Unity.Localization}
data:
m_Names:
- plural
- p
-
m_DefaultTwoLetterISOLanguageName: en
- rid: 5862241180198109201
type: {class: ConditionalFormatter, ns: UnityEngine.Localization.SmartFormat.Extensions, asm: Unity.Localization}
data:
m_Names:
- conditional
- cond
-
- rid: 5862241180198109202
type: {class: TimeFormatter, ns: UnityEngine.Localization.SmartFormat.Extensions, asm: Unity.Localization}
data:
m_Names:
- timespan
- time
- t
-
m_DefaultFormatOptions: 4646
- rid: 5862241180198109203
type: {class: XElementFormatter, ns: UnityEngine.Localization.SmartFormat.Extensions, asm: Unity.Localization}
data:
m_Names:
- xelement
- xml
- x
-
- rid: 5862241180198109204
type: {class: ChooseFormatter, ns: UnityEngine.Localization.SmartFormat.Extensions, asm: Unity.Localization}
data:
m_Names:
- choose
- c
m_SplitChar: 124
- rid: 5862241180198109205
type: {class: SubStringFormatter, ns: UnityEngine.Localization.SmartFormat.Extensions, asm: Unity.Localization}
data:
m_Names:
- substr
m_ParameterDelimiter: 44
m_NullDisplayString: (null)
m_OutOfRangeBehavior: 0
- rid: 5862241180198109206
type: {class: IsMatchFormatter, ns: UnityEngine.Localization.SmartFormat.Extensions, asm: Unity.Localization}
data:
m_Names:
- ismatch
- rid: 5862241180198109207
type: {class: DefaultFormatter, ns: UnityEngine.Localization.SmartFormat.Extensions, asm: Unity.Localization}
data:
m_Names:
- default
- d
-
8 changes: 8 additions & 0 deletions Assets/Locale/Localization Settings.asset.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1ad47b2

Please sign in to comment.