Please Help Support E-Mods.net by Donating

e-mods.net

  • 2017-11-21, 23:09:37
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search

News:

Looking for VTMR Modding Tutorials? Check out the Open Nod Development section of e-mods.net.

Author Topic: Russian Localization  (Read 1999 times)

Graf_Nosferatu

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Russian Localization
« on: 2013-06-07, 04:32:03 »

Hi! I'm from Russia, do not know much English, so the translation does Google. I have a lot of time trying to make a normal translation of the game on the Russian language, but I have a problem with error messages disciplines. English characters appear normal, but instead of Russian characters displayed nonsense.

public void DisplayRecast(String disciplineName, int level)
{
      String casterName = casterThing.GetName(); <- This string is displayed incorrectly
      int clientGuid = casterThing.GetGUID();

      String aFormat = "%C" + casterName + "%d" + disciplineName;
      CodexConsole.Print(clientGuid, CONSOLE_FLAG_DISCIPLINERECAST, FormatNLS("RPG_DISCMSG_RECASTS", aFormat));
}

Help fix this error. Tried to change the encoding did not help. But in Java I'm not an expert, and therefore can make mistakes.
Thanks in advance for any help
Logged

Javokis

  • Horses Dick
  • Member
  • *****
  • Karma: 21
  • Offline Offline
  • Posts: 2373
    • E-Mods.net
Re: Russian Localization
« Reply #1 on: 2013-06-07, 13:06:15 »

The command GetName does not support UTF-8 and that's an issue for multi-language platforms. The Java API came rather limited when plugged into the Nod Engine.
Logged
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." -Signo

Graf_Nosferatu

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Russian Localization
« Reply #2 on: 2013-06-08, 01:35:39 »

Can you suggest something to fix something like this?
Logged

Javokis

  • Horses Dick
  • Member
  • *****
  • Karma: 21
  • Offline Offline
  • Posts: 2373
    • E-Mods.net
Re: Russian Localization
« Reply #3 on: 2013-06-11, 23:44:28 »

Unfortunately not. The Java API is limited when it comes to presenting player names outside of the ANSI character list. There is no UTF-8 options since Nihilistic didn't add any in the Java API. The string files can handle it, but just as long as you don't need to call up a utf-8 value in the Java API. So you're stuck with English player names if you don't want them to show as goop in the Java API calls.
Logged
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." -Signo

Nihilistic

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Russian Localization
« Reply #4 on: 2015-06-04, 01:52:06 »

Здравствуйте.

Участник форума под ником "behar" с сайта zoneofgames.ru разрешил выложить его перевод. В котором помимо перевода присутствует фикс который позволяет использовать все 255 символов (включая последний), плюс переведено 1H и 2H на Одноручное и Двуручное соответственно.

Hello.

Member forum under the nickname "behar" site zoneofgames.ru allowed to put its translation. In addition to which there is fixed translation that allows to use all 255 characters (including the last), plus translated 1H and 2H for one-handed and two-handed, respectively.
Logged

Javokis

  • Horses Dick
  • Member
  • *****
  • Karma: 21
  • Offline Offline
  • Posts: 2373
    • E-Mods.net
Re: Russian Localization
« Reply #5 on: 2015-06-04, 20:21:50 »

And for those new to installing "mods" into VTMR, just copy the Miles, UI, and Strings folders into the main VTMR game directory to install the language pack.
Logged
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." -Signo
 

Page created in 0.057 seconds with 19 queries.