News:

SMFNew Installed

+-+-

User+-

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Site Stats+-

Members
Total Members: 728
Latest: Cho
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 10932
Total Topics: 795
Most Online Today: 1
Most Online Ever: 854
(September 18, 2024, 07:49:37 am)
Users Online
Members: 0
Guests: 7
Total: 7

Author Topic: [Tool] another localization tool  (Read 4883 times)

0 Members and 0 Guests are viewing this topic.

Awkward

  • Common
  • *
  • Posts: 45
  • Gender: Male
    • View Profile
Re: [Tool] another localization tool
« Reply #30 on: March 04, 2020, 02:18:04 pm »
What you mean g converted?
I spent time by writing program. Sometime I just trying to translate mods to Russian. I posted ghat changes on Russian forum usually. Anyway, first post have link to archive with ready translations (separate files).
telegram: @Awk_ward
facebook: https://www.facebook.com/awkward.im

Kva3imoda

  • Developer
  • *
  • Posts: 1,079
  • Gender: Male
    • View Profile
Re: [Tool] another localization tool
« Reply #31 on: March 04, 2020, 04:15:28 pm »
Yeah PJ. This utility does not convert mods, it does scraping/parsing all text information in files. After that, the program makes it possible to conveniently translate all this text and generate a translation dat-file.

Phanjam

  • Operator
  • *
  • Posts: 2,752
  • Gender: Male
  • Location: same as you. at the center of the universe.
    • View Profile
Re: [Tool] another localization tool
« Reply #32 on: March 07, 2020, 02:23:39 am »
Okay i get it now, thanks Kva!

@Awkward ive never used a .DAT file for languages before. What does a user have to do, so they can use these files of yours?


Awkward

  • Common
  • *
  • Posts: 45
  • Gender: Male
    • View Profile
Re: [Tool] another localization tool
« Reply #33 on: March 07, 2020, 03:23:14 am »
i think, most of modders, especially who made localization, must to know.
shortly: when you produce final file, need to rename it to TRANSLATION.DAT and place to directory as in main game.
if you unpack main game PAK file by GUTS, it will be inside MEDIA direcotory..
Ummm...
for me, it
G:\Games\Torchlight 2\MEDIA\TRANSLATIONS\RUSSIAN\RATRANSLATION.DAT
before, i made empty mod, named dummy.
so, all i did, just created directories and file inside:
G:\Games\Torchlight 2\mods\dummy\media\TRANSLATIONS\RUSSIAN\TRANSLATION.DAT
then build mod and added to mod list at first position.
of course, if need to add unimplemented language, you will need to make additional file like
G:\Games\Torchlight 2\MEDIA\TRANSLATIONS\RUSSIAN.DAT
with content
[LANGUAGE]
   <STRING>DISPLAYNAME:Pусский
   <STRING>NAME:RUSSIAN
   <INTEGER>AUDIO_TRACK:3
   <STRING>TRANSLATIONFILE:MEDIA/TRANSLATIONS/RUSSIAN/TRANSLATION.dat
   <INTEGER>ID:2
   [FOLDERPAIR]
      <STRING>ORIGINAL:MEDIA/UI/
      <STRING>TRANSLATED:MEDIA/TRANSLATIONS/RUSSIAN/UI/
   [/FOLDERPAIR]
   [FOLDERPAIR]
      <STRING>ORIGINAL:MEDIA/
      <STRING>TRANSLATED:MEDIA/TRANSLATIONS/RUSSIAN/RANDOMNAMES/
   [/FOLDERPAIR]
[/LANGUAGE]

THAT JUST EXISTING GAME EXAMPLE

sorry, i not too PRO in documentation writing. I hope, Kva3imoda can describe it better.

PS. almost implemented separated code for different internet translation services, not yandex only, will add to program soon.
telegram: @Awk_ward
facebook: https://www.facebook.com/awkward.im

Phanjam

  • Operator
  • *
  • Posts: 2,752
  • Gender: Male
  • Location: same as you. at the center of the universe.
    • View Profile
Re: [Tool] another localization tool
« Reply #34 on: March 08, 2020, 05:54:08 am »
Ok thanks very much @Awkward that information is a good place to start already  ;D


Awkward

  • Common
  • *
  • Posts: 45
  • Gender: Male
    • View Profile
Re: [Tool] another localization tool
« Reply #35 on: March 13, 2020, 02:18:18 pm »
open wrong file error messages added
scan process can be cancelled by esc
program localization moved to 'languages' directory
added changing program language on the fly
adds language code to file name at first save
several online translators added
telegram: @Awk_ward
facebook: https://www.facebook.com/awkward.im

Phanjam

  • Operator
  • *
  • Posts: 2,752
  • Gender: Male
  • Location: same as you. at the center of the universe.
    • View Profile
Re: [Tool] another localization tool
« Reply #36 on: March 14, 2020, 01:26:10 am »
Sounds like its becoming more packed with features! Thx for the great work @Awkward !


Awkward

  • Common
  • *
  • Posts: 45
  • Gender: Male
    • View Profile
Re: [Tool] another localization tool
« Reply #37 on: April 09, 2020, 11:54:09 pm »
new update:
removed notes resort after new note adding
new button - check translation for punctuation at the end of line
telegram: @Awk_ward
facebook: https://www.facebook.com/awkward.im

Awkward

  • Common
  • *
  • Posts: 45
  • Gender: Male
    • View Profile
Re: [Tool] another localization tool
« Reply #38 on: May 12, 2020, 10:29:37 pm »
fresh update:
Hint for "notes" added
"build" toolbar button created
Addon files accepts paths
exported file name finished by '_exported'
"Reopen projects at start" option added
Export don't includes non-translated lines now
ignoring source lines just with parameters without text
Parameter/color insert in edit window
telegram: @Awk_ward
facebook: https://www.facebook.com/awkward.im

Awkward

  • Common
  • *
  • Posts: 45
  • Gender: Male
    • View Profile
Re: [Tool] another localization tool
« Reply #39 on: May 30, 2020, 01:04:14 pm »
New changes:

Process tag "DESCRIPTION" not as <TRANSLATE> type only but as <STRING> too
fixed possible crash on some unuseful dialog
telegram: @Awk_ward
facebook: https://www.facebook.com/awkward.im

 

Recent Topics+-