I am currently actively creating a Ukrainian localization for the Project Reality. I converted the English translation strings to .csv and uploaded them to Crowdin, where I almost completely translated the files. After that, I converted the file back to .utxt format, but during testing, immediately after starting the game from the launcher, I got this error.
As far as I understand, there are some invisible unsupported characters in the translation file, due to which the game cannot be started. But I can't understand what these characters are.
Here is one of the files with my localization:
https://drive.google.com/drive/folders/ ... sp=sharing
check_localization.exe has indicated the following problems, but I don't know how to fix them:
- Not UTF-16LE / UCS-2 - (Detected: ASCII).
- Contains \n characters instead of \r\n, check line endings are Windows:
...
Help me fix it, please.
bad unicode fingerprint custom localization error
-
- PR:BF2 Developer
- Posts: 2991
- Joined: 2009-08-10 18:58
Re: bad unicode fingerprint custom localization error
In notepad++:
Encoding -> Convert to UCS-2 little endian
Edit -> EOL conversion -> windows format
Encoding -> Convert to UCS-2 little endian
Edit -> EOL conversion -> windows format
- Mats391
- PR:BF2 Lead Developer
- Posts: 7636
- Joined: 2010-08-06 18:06
Re: bad unicode fingerprint custom localization error
There already is a ukrainian localization, maybe you should help them: https://github.com/realitymod/pr-locali ... /ukrainian

Mineral: TIL that Wire-guided missiles actually use wire
-
- Posts: 9
- Joined: 2020-05-10 14:05
Re: bad unicode fingerprint custom localization error
Thank you, this is exactly the localization that I once added, but never finished. I am now improving and refining itMats391 wrote:There already is a ukrainian localization, maybe you should help them: https://github.com/realitymod/pr-locali ... /ukrainian
-
- Posts: 9
- Joined: 2020-05-10 14:05
Re: bad unicode fingerprint custom localization error
Thanks! Now everything works fine, I checkedAlonTavor wrote:In notepad++:
Encoding -> Convert to UCS-2 little endian
Edit -> EOL conversion -> windows format
Last edited by Tymkolt on 2021-10-11 19:12, edited 1 time in total.