This bug comes from Crowdin. We refer to it as' translation mismatch ', which means that the translated content does not match the original text due to Crowdin's use of a certain method when reading the yml configuration file.
For example, the following paragraph takes up 3 lines of space in the original text, but when translated into Chinese, only one line is used, resulting in the remaining 2 lines being unable to be translated.
In the fourth image, due to the fact that the Chinese configuration file only occupies one line of space, the content that should have existed in the next line does not match the original text, and even matches the content that needs to appear in the next two lines.
In order to better assist in understanding, I will put it another way.
Now I am translating a new language - Chinese. I have opened the editor and made the original code changes as follows:
1 upgrades-upgrade-lore-swords-tier-1:
2 - '&7Your team permanently gains'
3 - '&7Sharpness I on all swords and'
4 - '&7axes!'
5 - ''
6 - '&7Cost: &b{cost} {currency}'
7 - ''
This bug comes from Crowdin. We refer to it as' translation mismatch ', which means that the translated content does not match the original text due to Crowdin's use of a certain method when reading the yml configuration file.
For example, the following paragraph takes up 3 lines of space in the original text, but when translated into Chinese, only one line is used, resulting in the remaining 2 lines being unable to be translated.
In the fourth image, due to the fact that the Chinese configuration file only occupies one line of space, the content that should have existed in the next line does not match the original text, and even matches the content that needs to appear in the next two lines.
In order to better assist in understanding, I will put it another way.
Now I am translating a new language - Chinese. I have opened the editor and made the original code changes as follows:
↓↓↓ Post-translational ↓↓↓
After translation, it can be seen that this code has changed from 7 lines to 5 lines, and after Crowdin recognizes it, it will look like this:
'&7Your team permanently gains'
'&7你的队伍将永远在所有的剑和斧头上获得锋利 I'
(Should correspond to the translation of the first, second, and third lines)'&7Sharpness I on all swords and'
'&7axes!'
'&7花费:&b{cost} {currency}'
(Should correspond to the translation of the sixth line)'&7Cost: &b{cost} {currency}'
To solve these problems, you can use
JSON
instead ofYAML
, or change the content that needs to be wrapped to\n
.*I have translated all the above content using translation software, and there may be errors.