OR Localization
#51
Posted 19 February 2014 - 01:01 PM
Could be available for translation in the future?
#52
Posted 19 February 2014 - 01:49 PM
strawberryfield, on 19 February 2014 - 01:01 PM, said:
Could be available for translation in the future?
If you mean the labels for the keys, they could be translated; the keys themselves cannot.
#53
Posted 19 February 2014 - 02:03 PM
strawberryfield, on 19 February 2014 - 01:01 PM, said:
The key names are currently generated from enum key names, which method is inadequate for localization. String descriptions need to be added for them first, but they are unavailable yet. So in the future yes, but now not. :)
#54
Posted 20 February 2014 - 12:15 PM
gpz, on 19 February 2014 - 02:03 PM, said:
I searched that strings in the code but I didn't find them. Now I know why.
Thank you.
#55
Posted 20 February 2014 - 01:04 PM
#56
Posted 20 February 2014 - 11:05 PM
Just look at it: Menu post-build call only scanned the Source\Menu directory, RunActivity post-build call only scanned Source\RunActivity, ORTS.Common post-build call only scanned Source\ORTS.Common, etc... Neither of them scanned Source\ORTS.
(Please note: xgettext parses source files for localizable strings only on file level, searching for some keywords, like e.g. GetString("blabla"), it doesn't understand the project structure set up in .csproj files.)
An alternative would be to pass more directory names to be scanned by xgettext, which could be referenced like this: xgettext -D %dirOne -D %dirTwo . This is how it was set up before your mods.
#57
Posted 20 February 2014 - 11:28 PM
But, since the code is shared, could it be moved to a library project ?
#58
Posted 21 February 2014 - 12:29 AM
gpz, on 20 February 2014 - 11:05 PM, said:
Just look at it: Menu post-build call only scanned the Source\Menu directory, RunActivity post-build call only scanned Source\RunActivity, ORTS.Common post-build call only scanned Source\ORTS.Common, etc... Neither of them scanned Source\ORTS.
Oh, yes, of course. This won't last though...
Serana, on 20 February 2014 - 11:28 PM, said:
Yes, it should move somewhere. Soon all code will be in a directory structure that matches the project structure. :lol2:
#59
Posted 21 February 2014 - 11:05 AM
#60
Posted 21 February 2014 - 02:31 PM