Changing Client Language


Fire Lilly

 

Posted

Over at Titan, I'm working on multi-language support for badge verification.

I've currently signed up for a trial on the EU servers to test some of this stuff, but I'm looking at a more long-term solution.

Is it possible to change the client's display language without connecting to the foreign servers? I'm talking about the general, system generated stuff.

I found an old link via a Google search, but couldn't quite get it to work correctly. Might just be my brain being fried for tonight.


[url="http://wiki.cohtitan.com/wiki/User:SaintNicster"]ParagonWiki User Page[/url]

[url="http://cit.cohtitan.com/profile/214#list"]City Info Tracker[/url]

 

Posted

This is the only thing I found:
Changing the Game's Language

But of course it mentions "a registry key that is not present in the US client".

Would the US client recognize it if you created it anyway?


 

Posted

This is the only thing I found:
Changing the Game's Language

But of course it mentions "a registry key that is not present in the US client".

I'm guessing you tried to create it anyway but the US client didn't recognize it? I'm out of any other guesses.


 

Posted

Eureka! *runs through the town naked*

erm >.>

Pseudo-solution found:

I had kinda tried the key change, but wasn't having any luck. It would work when launching CohUpdater.EU.exe, but the US client wouldn't keep the setting.

I played around with it a bit, and it turns out that the US updater is actually resetting "Installer Language" and "Locale" every time it launches. When the actual game launches, it reads these and sets the settings.

Here's the workaround I found:
1. Load the US Patcher. Do not click anything here yet.
2. Run Regedit (at your own risk, I guess)
2a. Changing "Installer Language" to the appropriate code (1031 for german, 1036 for French)
2b. Delete the "Locale" key from the Coh folder (This is the important one, as it appears to override the "Installer Language" key.
3. Tab back over to the Patcher, Click "Next ->" and agree to the EULA.
4. The program should load display the splash screen with the "LOADING" text in the appropriate language.

Note again that the registry keys will be reversed the next time you fire up the patcher, so it isn't a permanent solution. But it'll work for my purposes

Thanks for re-triggering a brainstorm


[url="http://wiki.cohtitan.com/wiki/User:SaintNicster"]ParagonWiki User Page[/url]

[url="http://cit.cohtitan.com/profile/214#list"]City Info Tracker[/url]

 

Posted

Whoops, looks like I celebrated a bit too soon *doh*

Doing this translates the bulk of the UI, but there are still some chat messages and such that are in English. *boggles a bit, desides to sleep on it*


[url="http://wiki.cohtitan.com/wiki/User:SaintNicster"]ParagonWiki User Page[/url]

[url="http://cit.cohtitan.com/profile/214#list"]City Info Tracker[/url]

 

Posted

I'm not sure if this will help you or not, but to save you a little bit of trouble, you could probably "Export" the necessary registry keys to a file and "reinstall" them at the appropriate time, without having to open regedit every time.

As for the language not changing in some places.. what happens if you change the value of "Locale"?


 

Posted

Quote:
Originally Posted by SaintNicster View Post
Whoops, looks like I celebrated a bit too soon *doh*

Doing this translates the bulk of the UI, but there are still some chat messages and such that are in English. *boggles a bit, desides to sleep on it*
The text you're still getting in English is generated by the server, not by the client, so your client settings do not affect it.

You can see the same effect on the European servers. If you log onto the French server with your client set to English or German, you will still get quite a lot of French text, etc.

HTH,
10


 

Posted

Quote:
Originally Posted by Master-Blade View Post
I'm not sure if this will help you or not, but to save you a little bit of trouble, you could probably "Export" the necessary registry keys to a file and "reinstall" them at the appropriate time, without having to open regedit every time.
Definitely a good idea once it's all hammered out.

Quote:
Originally Posted by Master-Blade View Post
As for the language not changing in some places.. what happens if you change the value of "Locale"?
Yeah, I'm just not sure what the various settings for "Locale" would be. It's a hex key, and in order to test the settings, I would have start up the game and log in to test it out.

Quote:
Originally Posted by Ten__ View Post
The text you're still getting in English is generated by the server, not by the client, so your client settings do not affect it.

You can see the same effect on the European servers. If you log onto the French server with your client set to English or German, you will still get quite a lot of French text, etc.

HTH,
10
And what is wacky about it is that it appears to be the close to the inverse of the settings from if I log into the French Server. The chat messages (like "Congrats, you've earned X badge" or "You have activated Y power") and the flavor text below the badges are in english (along with some other stuff), but the badge name (in the window) and a lot of the UI pieces are in the other language.


[url="http://wiki.cohtitan.com/wiki/User:SaintNicster"]ParagonWiki User Page[/url]

[url="http://cit.cohtitan.com/profile/214#list"]City Info Tracker[/url]

 

Posted

Quote:
Originally Posted by SaintNicster View Post
Eureka! *runs through the town naked*

erm >.>
Am I the only one that got that joke?


 

Posted

So again, I post something, then try and get results -.-

It turns out that changing the language in the Euro client actually modifies the "Locale" Reg key for you. I duplicated this change in the American client and found out that it does affect the UI settings.

Unfortunately, it doesn't appear to change the power/badge messages, or the badge flavor text (mentioned above). It seems as though this information isn't actually stored in the client, but (my assumption) is instead sent to the client by the server in the server's native language.


[url="http://wiki.cohtitan.com/wiki/User:SaintNicster"]ParagonWiki User Page[/url]

[url="http://cit.cohtitan.com/profile/214#list"]City Info Tracker[/url]

 

Posted

Quote:
Originally Posted by SaintNicster View Post
So again, I post something, then try and get results -.-

It turns out that changing the language in the Euro client actually modifies the "Locale" Reg key for you. I duplicated this change in the American client and found out that it does affect the UI settings.

Unfortunately, it doesn't appear to change the power/badge messages, or the badge flavor text (mentioned above). It seems as though this information isn't actually stored in the client, but (my assumption) is instead sent to the client by the server in the server's native language.
Sounds like what Ten__ said was correct then, which means it looks like you'll have to use those servers directly to test your scripts.


 

Posted

Quote:
Originally Posted by Master-Blade View Post
Sounds like what Ten__ said was correct then, which means it looks like you'll have to use those servers directly to test your scripts.
Man, reading comprehension ftl on my part. I really need to work on that


[url="http://wiki.cohtitan.com/wiki/User:SaintNicster"]ParagonWiki User Page[/url]

[url="http://cit.cohtitan.com/profile/214#list"]City Info Tracker[/url]

 

Posted

Quote:
Originally Posted by SaintNicster View Post
Man, reading comprehension ftl on my part. I really need to work on that
Maybe ask if there is some way for Avetea to help you with an account to test this stuff out?


Orc&Pie No.53230 There is an orc, and somehow, he got a pie. And you are hungry.
www.repeat-offenders.net

Negaduck: I see you found the crumb. I knew you'd never notice the huge flag.

 

Posted

Quote:
Originally Posted by SaintNicster View Post
Man, reading comprehension ftl on my part. I really need to work on that
Quote:
Originally Posted by Rajani Isa View Post
Maybe ask if there is some way for Avetea to help you with an account to test this stuff out?
His scripts, or his reading comprehension? lol j.k