Hard Light Productions Forums
General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: Nikogori on July 01, 2018, 02:28:23 pm
-
I've been working on Japanese translation mod (https://www.hard-light.net/forums/index.php?topic=94840.0) but there are a few lines left untranslated in Control Config menu.
It seems they are not included in strings.tbl. Where can I find them?
(http://i.imgur.com/Hd5GRXml.jpg) (https://imgur.com/Hd5GRXm)
-
The controls config menu is a bit special since it requires that all strings used in that screen have sequential XSTR ids. The strings you are seeing are those added by the SCP which are not present in the retail strings.tbl and are also not translatable. The controls XSTRs start at 507 and go up to 613. However there is a gab of 6 free ids after that so at least that many strings could be made translatable.
To be honest, that code really needs to be rewritten so it just uses the standard XSTR functions so maybe I'm just going to do that.
So, the final answer to your question is this: No, they cannot be translated at the moment. The engine first needs to be changed to allow that.
-
The controls config menu is a bit special since it requires that all strings used in that screen have sequential XSTR ids. The strings you are seeing are those added by the SCP which are not present in the retail strings.tbl and are also not translatable. The controls XSTRs start at 507 and go up to 613. However there is a gab of 6 free ids after that so at least that many strings could be made translatable.
To be honest, that code really needs to be rewritten so it just uses the standard XSTR functions so maybe I'm just going to do that.
So, the final answer to your question is this: No, they cannot be translated at the moment. The engine first needs to be changed to allow that.
Thank you. I'll add this information to mod download page so that users will understand why these are left untranslated.
-
There are still some other texts, that are not translateable so far. I posted a collection of them on GitHub.
But in the strings.tbl there is support for some other text, that is undocumented so far except you look in the source code directly. The official english segment of the strings.tbl ends with id 1570, but there are translateable texts up to id 1637. At least they should also be translated into Japanese ;)