collapse

* Important


The forum and all threads have been locked, but are still available for browsing.  There is more information about this here.


The

Is still open for article contributions.

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

Offline Awkward

  • Common
  • *
  • Posts: 44
  • Country: ru
    • status idle
    • View Profile
  • Mood: mood sad
Re: [Tool] another localization tool
« Reply #30 on: March 04, 2020, 10: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

Offline Kva3imoda

  • Developer
  • Legendary
  • *
  • Posts: 1,079
  • Country: ru
    • status ready
    • View Profile
  • Mood: mood cool
Re: [Tool] another localization tool
« Reply #31 on: March 05, 2020, 12:15:28 am »
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.

Offline Phanjam

  • Operator
  • Legendary
  • *
  • Posts: 2,751
  • Country: ph
    • status ready
    • View Profile
  • Mood: mood angel
Re: [Tool] another localization tool
« Reply #32 on: March 07, 2020, 10: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?



Offline Awkward

  • Common
  • *
  • Posts: 44
  • Country: ru
    • status idle
    • View Profile
  • Mood: mood sad
Re: [Tool] another localization tool
« Reply #33 on: March 07, 2020, 11: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

Offline Phanjam

  • Operator
  • Legendary
  • *
  • Posts: 2,751
  • Country: ph
    • status ready
    • View Profile
  • Mood: mood angel
Re: [Tool] another localization tool
« Reply #34 on: March 08, 2020, 12:54:08 pm »
Ok thanks very much @Awkward that information is a good place to start already  ;D



Offline Awkward

  • Common
  • *
  • Posts: 44
  • Country: ru
    • status idle
    • View Profile
  • Mood: mood sad
Re: [Tool] another localization tool
« Reply #35 on: March 13, 2020, 09: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

Offline Phanjam

  • Operator
  • Legendary
  • *
  • Posts: 2,751
  • Country: ph
    • status ready
    • View Profile
  • Mood: mood angel
Re: [Tool] another localization tool
« Reply #36 on: March 14, 2020, 08:26:10 am »
Sounds like its becoming more packed with features! Thx for the great work @Awkward !



Offline Awkward

  • Common
  • *
  • Posts: 44
  • Country: ru
    • status idle
    • View Profile
  • Mood: mood sad
Re: [Tool] another localization tool
« Reply #37 on: April 10, 2020, 06:54:09 am »
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

Offline Awkward

  • Common
  • *
  • Posts: 44
  • Country: ru
    • status idle
    • View Profile
  • Mood: mood sad
Re: [Tool] another localization tool
« Reply #38 on: May 13, 2020, 05:29:37 am »
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

Offline Awkward

  • Common
  • *
  • Posts: 44
  • Country: ru
    • status idle
    • View Profile
  • Mood: mood sad
Re: [Tool] another localization tool
« Reply #39 on: May 30, 2020, 08: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

Tags: tool 
 

Our host and sponsor

* Quick Search


* Mod Boards Activity

* Popular Topics