Page 1 of 1

lang files troubleshooting.

PostPosted: 13 Mar 2014, 03:15
by peteypan
Hi guys, just hit a little speed bump for the WTA patch, Hele has added new categories in the lang_eng file located in Menu.

The first 8 show up fine in the game however categories 10 & 11 come up with "unknown code"

This is what is in the lang_eng file =

#alternate 1 //=== Text for women ; add here any sentence that may need to be changed for women players
CatType01 Grand Slam
CatType02 WTA Tour Championships
CatType03 WTA Premier Mandatory
CatType04 WTA Premier 5
CatType05 Fed Cup (Premier Team)
CatType06 WTA Premier
CatType07 WTA Tournament of Champions
CatType08 WTA International
CatType09 WTA 125K series
CatType10 Challenger
CatType11 Futures

MasterCup WTA Championships
TeamCup Fed Cup
InternationalCup season-Ending Championships (International series)
BoardTeamCup Fed Cup Board
WT_Title08 FED CUP

I get this message in my system.log

Warning: cannot find code 'CatType10' on alternate (InAlt = 1) in 'English' !
Warning: cannot find code 'CatType11' on alternate (InAlt = 1) in 'English' !
Warning: cannot find code 'InternationalCup' on alternate (InAlt = 1) in 'English' !


Does anybody have an experience/ideas with this?

Many thanks.

Re: lang files troubleshooting.

PostPosted: 13 Mar 2014, 03:48
by antimouse
Hello peteypan,

I guess it's because it is in the Alternate section only. It seems this section presumes there is equivalent texts in the main section, which means you probably should need to add CatType10 and CatType11 also in the ATP part of the lang file. Notice that ATP has exactly 9 categories, and it's exactly 10 and 11 that are returning Unknown Code. Put this new categories in both sections and maybe it will work.

Re: lang files troubleshooting.

PostPosted: 13 Mar 2014, 04:01
by peteypan
antimouse wrote:Hello peteypan,

I guess it's because it is in the Alternate section only. It seems this section presumes there is equivalent texts in the main section, which means you probably should need to add CatType10 and CatType11 also in the ATP part of the lang file. Notice that ATP has exactly 9 categories, and it's exactly 10 and 11 that are returning Unknown Code. Put this new categories in both sections and maybe it will work.


Thanks so much for the quick reply! Will try this now :)

Re: lang files troubleshooting.

PostPosted: 13 Mar 2014, 04:12
by peteypan
Worked :) thanks so much Antimouse!

Re: lang files troubleshooting.

PostPosted: 13 Mar 2014, 15:51
by antimouse
Great! Glad to help :)