project reality header
Go Back   Project Reality Forums > Project Reality Support > PR:BF2 Support
22 Oct 2021, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Support Help and support regarding PR:BF2 installation and in-game issues

Reply
 
Thread Tools Display Modes
Old 2021-10-11, 13:43   #1
Tymkolt
Exclamation bad unicode fingerprint custom localization error

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/folde...OG?usp=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.
Tymkolt is offline Reply With Quote
Old 2021-10-11, 14:50   #2
[R-DEV]​AlonTavor
PR:BF2 Developer
PR Server License Administrator
Default Re: bad unicode fingerprint custom localization error

In notepad++:

Encoding -> Convert to UCS-2 little endian
Edit -> EOL conversion -> windows format
AlonTavor is offline Reply With Quote
Old 2021-10-11, 15:03   #3
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: bad unicode fingerprint custom localization error

There already is a ukrainian localization, maybe you should help them: https://github.com/realitymod/pr-loc...ster/ukrainian

Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline Reply With Quote
Old 2021-10-11, 18:40   #4
Tymkolt
Default Re: bad unicode fingerprint custom localization error

Quote:
Originally Posted by Mats391 View Post
There already is a ukrainian localization, maybe you should help them: https://github.com/realitymod/pr-loc...ster/ukrainian
Thank you, this is exactly the localization that I once added, but never finished. I am now improving and refining it
Tymkolt is offline Reply With Quote
Old 2021-10-11, 18:41   #5
Tymkolt
Default Re: bad unicode fingerprint custom localization error

Quote:
Originally Posted by AlonTavor View Post
In notepad++:

Encoding -> Convert to UCS-2 little endian
Edit -> EOL conversion -> windows format
Thanks! Now everything works fine, I checked
Tymkolt is offline
Last edited by Tymkolt; 2021-10-11 at 19:12..
Reply With Quote
Reply


Tags
localization, translating, translation
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 06:13.