OpenXcom Forum

Contributions => Translations => Topic started by: SiceX on August 26, 2014, 02:37:40 am

Title: Italian Translation for various mods
Post by: SiceX on August 26, 2014, 02:37:40 am
I want to make an italian translation for various mods, but i need some help to know how i can do this. I already tried to translate some mods, expecially the "colour armor", combat knife and the shotgun. Combat Knife and Shotgun worked properly, but when i tried to run the game with colour armor, there the problems began. All Ufopedia topics of them had the title "STR_BLUARMOR...." ecc, and descriptions too. That's the problem.
Here a list of the mods i'm working on.
Colored Armors
Combat Knife
Firestorm Restyle
Harvest R0002
Railgun
Shotgun
Sniper Rifle

P.S: Se qualche italiano vuole aiutarmi, libero di parlare nella lingua madre. :D
Title: Re: Italian Translation for various mods
Post by: KingMob4313 on August 26, 2014, 05:39:05 am
Excellent, I know many of the modders will be quite pleased.
Title: Re: Italian Translation for various mods
Post by: SiceX on August 26, 2014, 03:39:53 pm
Thanks. Now, i need to know how i can do this.
Title: Re: Italian Translation for various mods
Post by: ivandogovich on August 26, 2014, 03:49:26 pm
Maybe you are missing some lines in your rulesets in the "extra strings" section.

... All Ufopedia topics of them had the title "STR_BLUARMOR...." ecc, and descriptions too. That's the problem.

Each item should have a title line for the game to display its name instead of the string.

              STR_BLUARMOR: Blue Combat Armor

Code: [Select]
STR_TASER: Taser pistol
      STR_TASER_CLIP: Taser Shock Clip
      STR_TASER_UFOPEDIA: A non-lethal weapon derived from a very recent police design, capable of incapacitating targets up to 5 meters away. While it delivers a less powerful charge than blunt-force stun weapons, its stylish pistol grip grants easy handling, and the range alone makes it a worthwhile asset.

If those are already present, it maybe something else.  You may be using a mod that calls for custom graphics resources... for example buttons in the Soldier Diaries/Commendations Mod.  This mod has a custom executable that uses new buttons, and if you disable the custom rule for the mod, it will render STR_MEDAL  .. etc where the graphics should go.    I would search for any images that might be missing out of the resources folders for the mods you are having difficulty with.  Also search through your ruleset for the items that are rendering "STR_BLUARMOR" etc and see that they are all defined, and are if they are referencing images, that everything is where it should be.

Cheers, Ivan :D
Title: Re: Italian Translation for various mods
Post by: Falko on August 26, 2014, 04:03:00 pm
i have a 80% finished tool for translation somewhere on the harddisk i take a look an try to finish/uload it this evening
Title: Re: Italian Translation for various mods
Post by: SiceX on August 26, 2014, 05:58:35 pm
thanks, i'll try again.
Title: Re: Italian Translation for various mods
Post by: Falko on August 26, 2014, 11:54:27 pm
i have a 80% finished tool for translation somewhere on the harddisk i take a look an try to finish/uload it this evening
done https://openxcom.org/forum/index.php?topic=2862.0
Title: Re: Italian Translation for various mods
Post by: SiceX on August 27, 2014, 10:22:45 pm
I made it! But only for Ufopedia. And not for railgun and sniper rifle mods.
Falko, this tool will be usefull! Thanks!
Now i'll keep work.
Title: Re: Italian Translation for various mods
Post by: SiceX on August 28, 2014, 03:41:19 am
Falko, i used your tool and export the file for the railgun mod, but now how can i install it?
Title: Re: Italian Translation for various mods
Post by: Falko on August 28, 2014, 04:34:00 am
you put the file in your ruleset folder and activate it as a mod (it shoud be called something like "translate_it" in the mod section if you did not rename the file)
OR
you use an text editor like notepad++ and copy the content into the target mod
OR
you post the rulfile in the relevant modthread(s) and the mod creator adds the language data to the mod for everyone (regardless of how you enable it for yourself publishing your translation is always a good idea)
Title: Re: Italian Translation for various mods
Post by: SiceX on August 28, 2014, 01:06:38 pm
I'll try the first one.
I'll share these translation when they are finished.
Title: Re: Italian Translation for various mods
Post by: SiceX on August 30, 2014, 11:27:31 pm
I've a question. If i want to translate more than just one ruleset whith that tool, how can i do this? Put the column of various mods in one file? Or create many files? And in that case, how i must rename them?
Title: Re: Italian Translation for various mods
Post by: Falko on August 31, 2014, 01:03:40 pm
if the ruleset are for different mods
i would make multiple files renaming the generetd files after their source mod and publish them in the modthread
Title: Re: Italian Translation for various mods
Post by: SiceX on August 31, 2014, 11:36:54 pm
It doesn't work.
Title: Re: Italian Translation for various mods
Post by: Falko on September 01, 2014, 12:44:40 am
the ominous "it" i encounter that often
rarely was "it" explained on the first try many times one had to asking questions like pulling teeth to know what "it" is
Title: Re: Italian Translation for various mods
Post by: SiceX on September 02, 2014, 09:13:14 pm
I can't find the RailGun topic. D:
Or it's named Mass Accelerator?
Title: Re: Italian Translation for various mods
Post by: SiceX on September 05, 2014, 02:11:11 am
Falko, your tool is a little buggy. In many files, the "STR_NAMEOFWEAPON" disappear. :/
Title: Re: Italian Translation for various mods
Post by: Falko on September 05, 2014, 03:01:09 am
can you be more specific
what file did you upload (link/upload in reply please)
and what string is gone missing
Title: Re: Italian Translation for various mods
Post by: SiceX on September 05, 2014, 02:45:45 pm
there's a screenshot of the work:
(https://i.imgur.com/iqZapkb.png)
and there's the result:
Code: [Select]
extraStrings:
  - type: it
    strings:
      STR_LASER_SNIPER_RIFLE_UFOPEDIA: "Un miglioramento del classico Fucile Laser, con maggiori precisione e potenza, al costo del rateo di fuoco."

Anyway, i managed to insert the missing part manually, and i already report various translation to their mod's autors.
Title: Re: Italian Translation for various mods
Post by: Falko on September 05, 2014, 03:10:11 pm
ah there was a bug
its fixed now and should not "forget" to export a line anymore
Title: Re: Italian Translation for various mods
Post by: SiceX on September 05, 2014, 03:41:37 pm
Thanks!
Title: Re: Italian Translation for various mods
Post by: SiceX on September 05, 2014, 03:47:14 pm
I re-tryed, it still doesn't work. :/
Title: Re: Italian Translation for various mods
Post by: Falko on September 05, 2014, 04:03:17 pm
did you reload the website? (CTRL+)F5 ?
Title: Re: Italian Translation for various mods
Post by: SiceX on September 05, 2014, 09:08:26 pm
I did it another time, for security, and still it happens. I cannot help you to find out why, unfortunately.
Title: Re: Italian Translation for various mods
Post by: SiceX on September 08, 2014, 10:51:44 pm
Anyway, despite the unexpected, i finished many translation and already posted them in their right topics.