#Localisation breaks config

97 messages · Page 1 of 1 (latest)

hollow folio
#

If you dont use "English" as language, the localisation breaks the F12 config menu. (FIKA 1.0.5.0)

To reproduce:

  • i deleted the com.fika.core.json in /config
  • i set "German" as language
  • started the game, waiting for the counter to use it
  • F12
  • Network/Performance Max-Bots settings gone

If i create an english profile - works.

The [Tags] that where translated confuse the configuration creation.

dense tulip
#

Show me your server mod/assets/locales/global folder

#

The tags have nothing to do with it

#

They return default until locales are loaded

slender slate
#

I don't have an assets/locales/global folder

dense tulip
#

What do you have

slender slate
dense tulip
#

Db

#

Go thrre

slender slate
dense tulip
#

I need to see non linux please

#

Or whatever that is

slender slate
dense tulip
#

Date

slender slate
#

This is straight from the zip file from the download 😦

#

#downloads message using the server link from here

dense tulip
#

@mossy kelp can you check it fir me

mossy kelp
#

Those should be the updated ones

slender slate
#

It worked post server update to 2.3.2 (restarted docker post changing mod folder mounts)

dense tulip
#

They were 22kb for me

slender slate
hollow folio
#

I am running linux server also with 2.3.2.

mossy kelp
slender slate
#

Yea this was the zip file

hollow folio
#

Filesize is ~19 to 34 (for RU) kb

dense tulip
slender slate
#

Yes works for me after restarting the server

dense tulip
slender slate
#

Sorry!

mossy kelp
hollow folio
#

But it does not fulfill the com.fika.core.json on client correctly at all. Performance / Network is missing completely if you use another language then english

dense tulip
hollow folio
#

German / English - deleted the json before for testing so it creates a fresh one for 1.0.5

dense tulip
#

Try another

hollow folio
#

one sec

#

Russian creates the Network / Performance in json

dense tulip
#

So German had an unsupported char

#

Can you send me the German translation

hollow folio
#

from the json?

dense tulip
#

Yes

hollow folio
#

Yes. Have to wait for the fika-disclaimer 😛

dense tulip
#

No

mossy kelp
#

It's either the umlaut or the ß

dense tulip
#

The locale file

dense tulip
mossy kelp
#

Yeah

dense tulip
#

Lmao ok

#

Fixing later

mossy kelp
#

The worst part of it is it might be an issue with other languages too

dense tulip
#

I'll try catch it

hollow folio
#

The ge.json has many ß inside the localisation

#

(server-side)

dense tulip
hollow folio
mossy kelp
#

[Info : Fika.Core] Locales are ready!
ArgumentException: Cannot use any of the following characters in section and key names: = \n \t \ " ' [ ]
Parameter name: key
at BepInEx.Configuration.ConfigDefinition.CheckInvalidConfigChars (System.String val, System.String name) [0x0004b] in <5e471ddbeb974684bff43bc61f1b58cb>:0
at BepInEx.Configuration.ConfigDefinition..ctor (System.String section, System.String key) [0x00011] in <5e471ddbeb974684bff43bc61f1b58cb>:0
at BepInEx.Configuration.ConfigFile.Bind[T] (System.String section, System.String key, T defaultValue, System.String description) [0x00000] in <5e471ddbeb974684bff43bc61f1b58cb>:0
at Fika.Core.FikaPlugin.SetupConfig () [0x00d1d] in <03b81256a8ba4b3f8768f523ef6a5c54>:0
at Fika.Core.FikaPlugin+<WaitForLocales>d__340.MoveNext () [0x000cd] in <03b81256a8ba4b3f8768f523ef6a5c54>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <ca21460feb9c47d0ac337b9893474cc6>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Class410:UnityEngine.ILogHandler.LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

dense tulip
#

Ah well I'll take a look later. Thanks Arch

hollow folio
#

Need anything else? Is it related to the problem no connection to dedicated can be done?

hollow folio
#

k

#

Dont want to hijack this thread - but maybe something to add to the fika.dedicated config - force english , and put the force IP stuff inside also 🙂

dense tulip
#

I don't know where the client loads the language but I'll check

#

I'd still want the conf file in the chosen language

hollow folio
#

The com.fika.core.json from the german client?

dense tulip
#

Nevermind

hollow folio
#

Ok, switching to English on Dedicated allows connection again 🙂

#

Should i do a rework on Crowdin for äöü and ß , would that help for the locale?

dense tulip
#

Someone put incorrect letters in the German translation

#

Quotes cannot be used like that

mossy kelp
dense tulip
#

@hollow folio Please try this in your server locales folder and restart the server

hollow folio
#

Network / Performance still missing

dense tulip
#

And you are 100% you updated the file?

#

Can you verify no \" exists in it?

#

Actually nevermind

#

Someone BUTCHERED the German translation

hollow folio
dense tulip
#

's because someone decided to add a bunch of " and ' to the titles and keys of the bepinex menu

#

I don't know why

hollow folio
#

Normal and Advanced View

dense tulip
#

Try this @hollow folio

hollow folio
dense tulip
#

Ok it's the free cam one

#

It has " in the title

hollow folio
#

Does this one have all locales that are available for crowdin?

dense tulip
#

Yes, but manually cleaned by me

#

I am updating Crowdin

hollow folio
#

Then i would fix this file and re-do the ugly translations in some parts and the non-german ones.

dense tulip
#

I've updated Crowdin

hollow folio
#

Okay, i do it in the morning and fully complete. Then i can have it open and see exactly what the meaning of some parts is (while having the ingame menu open).