Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pluralizers for zh-ch/zh-cn and eo aren't found #138

Open
XDelta opened this issue Nov 7, 2023 · 1 comment
Open

Pluralizers for zh-ch/zh-cn and eo aren't found #138

XDelta opened this issue Nov 7, 2023 · 1 comment

Comments

@XDelta
Copy link
Contributor

XDelta commented Nov 7, 2023

Throws System.Globalization.CultureNotFoundException: Culture name zh-ch is not supported. and replaces the key with ERROR!!! for what appears to be any key with a pluralizer from zh-ch/zh-cn and eo.

7af6eb4771

12:35:12 PM.308 (136 FPS)	Exception formatting message Indicator.OnlineUsersDesktop, Locale Code: eo:
Arguments (1):
	users = 78
System.Globalization.CultureNotFoundException: Culture name eo is not supported.
Parameter name: name
  at System.Globalization.CultureInfo..ctor (System.String name, System.Boolean useUserOverride, System.Boolean read_only) [0x00073] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Globalization.CultureInfo..ctor (System.String name, System.Boolean useUserOverride) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Globalization.CultureInfo..ctor (System.String name) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at Jeffijoe.MessageFormat.Formatting.Formatters.VariableFormatter.GetCultureInfo (System.String locale) [0x0000e] in <971ecbf758c9449ab5916f93216ec4d6>:0 
  at Jeffijoe.MessageFormat.Formatting.Formatters.VariableFormatter.Format (System.String locale, Jeffijoe.MessageFormat.Formatting.FormatterRequest request, System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] args, System.Object value, Jeffijoe.MessageFormat.IMessageFormatter messageFormatter) [0x0000b] in <971ecbf758c9449ab5916f93216ec4d6>:0 
  at Jeffijoe.MessageFormat.MessageFormatter.FormatMessage (System.String pattern, System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] args, System.Boolean ignoreMissingVariables) [0x00064] in <971ecbf758c9449ab5916f93216ec4d6>:0 
  at Elements.Assets.LocaleResource.Format (System.String key, System.Collections.Generic.Dictionary`2[TKey,TValue] arguments) [0x00021] in <6de1af748f9f480fac37cefdc1f23158>:0 
  at FrooxEngine.LocaleResource.Format (System.String key, System.Collections.Generic.Dictionary`2[TKey,TValue] arguments, System.Boolean returnNullIfNotFound) [0x0001b] in <ce0100e13f0347d791340985bd3805a7>:0 

  at System.Environment.get_StackTrace () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at Elements.Core.UniLog.Error (System.String message, System.Boolean stackTrace) [0x00000] in <b69854496e6e4116a13f0e3f1203d8f6>:0 
  at FrooxEngine.LocaleResource.Format (System.String key, System.Collections.Generic.Dictionary`2[TKey,TValue] arguments, System.Boolean returnNullIfNotFound) [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.LocaleStringDriver.OnChanges () [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.ComponentBase`1[C].InternalRunApplyChanges (System.Int32 updateIndex) [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.UpdateManager.ProcessChange (FrooxEngine.IUpdatable updatable) [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.UpdateManager.RunQueue[T] (System.Collections.Generic.Queue`1[T] queue, System.Action`1[T] action) [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.UpdateManager.RunChangeApplications () [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.World.RefreshStep () [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.World.Refresh () [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.WorldManager.UpdateStep () [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.WorldManager.RunUpdateLoop () [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.Engine.UpdateStep () [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.Engine.RunUpdateLoop () [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at UnityFrooxEngineRunner.FrooxEngineRunner.UpdateFrooxEngine () [0x00000] in <185573bf634946fbb354ff5215eecec9>:0 
  at UnityFrooxEngineRunner.FrooxEngineRunner.Update () [0x00000] in <185573bf634946fbb354ff5215eecec9>:0 
12:27:44` PM.990 (144 FPS)	Exception formatting message Migration.Report.ContactStatus, Locale Code: zh-ch:
Arguments (3):
	current = 0
	total = 0
	hex = #f8f770
System.Globalization.CultureNotFoundException: Culture name zh-ch is not supported.
Parameter name: name
  at System.Globalization.CultureInfo..ctor (System.String name, System.Boolean useUserOverride, System.Boolean read_only) [0x00073] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Globalization.CultureInfo..ctor (System.String name, System.Boolean useUserOverride) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Globalization.CultureInfo..ctor (System.String name) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at Jeffijoe.MessageFormat.Formatting.Formatters.VariableFormatter.GetCultureInfo (System.String locale) [0x0000e] in <971ecbf758c9449ab5916f93216ec4d6>:0 
  at Jeffijoe.MessageFormat.Formatting.Formatters.VariableFormatter.Format (System.String locale, Jeffijoe.MessageFormat.Formatting.FormatterRequest request, System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] args, System.Object value, Jeffijoe.MessageFormat.IMessageFormatter messageFormatter) [0x0000b] in <971ecbf758c9449ab5916f93216ec4d6>:0 
  at Jeffijoe.MessageFormat.MessageFormatter.FormatMessage (System.String pattern, System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] args, System.Boolean ignoreMissingVariables) [0x00064] in <971ecbf758c9449ab5916f93216ec4d6>:0 
  at Elements.Assets.LocaleResource.Format (System.String key, System.Collections.Generic.Dictionary`2[TKey,TValue] arguments) [0x00021] in <6de1af748f9f480fac37cefdc1f23158>:0 
  at FrooxEngine.LocaleResource.Format (System.String key, System.Collections.Generic.Dictionary`2[TKey,TValue] arguments, System.Boolean returnNullIfNotFound) [0x0001b] in <ce0100e13f0347d791340985bd3805a7>:0 

  at System.Environment.get_StackTrace () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at Elements.Core.UniLog.Error (System.String message, System.Boolean stackTrace) [0x00000] in <b69854496e6e4116a13f0e3f1203d8f6>:0 
  at FrooxEngine.LocaleResource.Format (System.String key, System.Collections.Generic.Dictionary`2[TKey,TValue] arguments, System.Boolean returnNullIfNotFound) [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.LocaleStringDriver.OnChanges () [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.ComponentBase`1[C].InternalRunApplyChanges (System.Int32 updateIndex) [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.UpdateManager.ProcessChange (FrooxEngine.IUpdatable updatable) [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.UpdateManager.RunQueue[T] (System.Collections.Generic.Queue`1[T] queue, System.Action`1[T] action) [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.UpdateManager.RunChangeApplications () [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.World.RefreshStep () [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.World.Refresh () [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.WorldManager.UpdateStep () [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.WorldManager.RunUpdateLoop () [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.Engine.UpdateStep () [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at FrooxEngine.Engine.RunUpdateLoop () [0x00000] in <ce0100e13f0347d791340985bd3805a7>:0 
  at UnityFrooxEngineRunner.FrooxEngineRunner.UpdateFrooxEngine () [0x00000] in <185573bf634946fbb354ff5215eecec9>:0 
  at UnityFrooxEngineRunner.FrooxEngineRunner.Update () [0x00000] in <185573bf634946fbb354ff5215eecec9>:0 

Version:
2023.11.7.274

@modimobeikete
Copy link
Contributor

@XDelta I found a way to fix it.I think you can try to change locale code as"pl"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants