French translation errors with generic translations
Posted: Wed Apr 04, 2018 1:15 pm
Hello,
I would like to know if there is a way to overwrite automatic/generic translations, when they are incorrect.
The main problem I saw is related to the 3 barrel strings:
- fill XX barrel (fill-barrel=Remplir le baril de __1__)
- empty XX barrel (empty-filled-barrel=Vider un baril de __1__)
- XX barrel (filled-barrel=Baril de __1__)
These strings are created through a concatenate function with the name of the product. In the French translation, this creates two translation errors.
1) The name of the product begins with a capital letter but it should be a lower case.
For example, "Baril de Pétrole" should be "Baril de pétrole".
2) All product names are preceded by "de", but it should be either "de" or "d'" depending on the first letter of the product name.
The grammatical rule is
- "d'" before voyels or a silent h
- "de" before the other letters
(https://en.wiktionary.org/wiki/d'#French)
For example, Sulfuric acid ("acide sulfurique") should use Baril d'
while heavy oil ("pétrole lourd") should use Baril de
Any idea how to correct this?
Can we use different strings for each type of barrel? Or does it require a change inside the game code?
Thanks in advance
Ronkhar
I would like to know if there is a way to overwrite automatic/generic translations, when they are incorrect.
The main problem I saw is related to the 3 barrel strings:
- fill XX barrel (fill-barrel=Remplir le baril de __1__)
- empty XX barrel (empty-filled-barrel=Vider un baril de __1__)
- XX barrel (filled-barrel=Baril de __1__)
These strings are created through a concatenate function with the name of the product. In the French translation, this creates two translation errors.
1) The name of the product begins with a capital letter but it should be a lower case.
For example, "Baril de Pétrole" should be "Baril de pétrole".
2) All product names are preceded by "de", but it should be either "de" or "d'" depending on the first letter of the product name.
The grammatical rule is
- "d'" before voyels or a silent h
- "de" before the other letters
(https://en.wiktionary.org/wiki/d'#French)
For example, Sulfuric acid ("acide sulfurique") should use Baril d'
while heavy oil ("pétrole lourd") should use Baril de
Any idea how to correct this?
Can we use different strings for each type of barrel? Or does it require a change inside the game code?
Thanks in advance
Ronkhar