Go Back   Grim Dawn Forums > Grim Dawn Community Section > Translations

Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools Display Modes
  Click here to go to the next staff post in this thread.   #1  
Old 03-17-2016, 01:06 AM
Rhis's Avatar
Rhis Rhis is offline
Crate Employee - Programmer
 
Join Date: Nov 2009
Posts: 1,760
Default Community Localizations (v1.0.0.2)

In-Game Localization Downloader

Grim Dawn now includes the ability to download localizations via the Language option in game. To submit your completed v1.0.0.2 localization, please see this thread.


Create a Localization

Grim Dawn reads community localizations from the "/localization" subdirectory of the location the game is installed. This is usually similar to "Program Files\Steam\SteamApps\Common\Grim Dawn". The game reads directly from a .zip file containing your localization files, which can be created using any standard .zip utility.

A community localization consists of a .zip file containing the localization texts along with a "language.def" file which tells the game the name of the localization as well as the font set to use.

example language.def:

Code:
language=French
fonts=FR
author=John Smith
The name given in the language field is what shows up in in game options. Community localizations appear as "community_French" for example in the language selection box in game options.

Currently the following font sets are available:

"CS" - Czech
"DE" - German
"EL" - Greek
"ES" - Spanish
"FR" - French
"HU" - Hungarian
"IT" - Italian
"KO" - Korean
"NL" - Dutch
"PL" - Polish
"RU" - Russian
"ZH" - Chinese
"SK" - Slovak
"PT" - Portuguese
"BG" - Bulgarian
"JA" - Japanese
"VI" - Vietnamese
"TH" - Thai

If you are working on a localization and require a font set for a different language, please PM me the request along with a link to the unicode alphabet for your desired language.

Item Localization

Gender Support

If you want to make use of gender support, you need to edit tagItemNameOrder (it's the first tag in "tags_items.txt") to use 'a' instead of 's' for the genderized parameters, and specify the index of the parameter which contains the item gender to use for the item.

for example (genderized prefix/quality/style/suffix, with gender chosen by name)

Code:
tagItemNameOrder={%_3a0}{%_3a1}{%_3a2}{%_s3}{%_3a4}
Gender codes would then be given to each tag representing an item name. The code present in the name is then used to pick from the genders supplied in other tags.

for example, a masculine singular object would be defined as follows:

Code:
tagSword=[ms]Sword
and a genderized suffix would be defined:

Code:
tagSuffixPower=[ms]Power[fs]etc[ns]etc
Recognized gender codes are:

Code:
[ms] Masculine Singular
[fs] Feminine Singular
[ns] Neuter Singular
[mp] Masculine Plural
[fp] Feminine Plural
[np] Neuter Plural
Reorder All Item Names

If you want to change the order in which item names are built for all items (from prefix/quality/style/name/suffix to some other order), you can change the parameter indexes around in tagItemNameOrder.

for example, name/quality/style/prefix/suffix (all items)

Code:
tagItemNameOrder={%_s3}{%_s1}{%_s2}{%_s0}{%_s4}
Recapitalize Item Names

If you want to recapitalize the item name string after it is created you can prepend '$' to tagItemNameOrder. The string will be changed so that only the first letter is capitalized.

Code:
tagItemNameOrder=${%_s0}{%_s1}{%_s2}{%_s3}{%_s4}
"Godly Plate of the Whale" would become "Godly plate of the whale".

If you want to mark a specific tag to prevent recapitalization you can prepend '$' to the tag.

Code:
tagSuffixWhale=$the Whale
The item name would then become "Godly plate of the Whale".

Individual Item Tag Reordering

If you require it, you can reorder only some tags, for example to move a certain prefix to the end of the item name, you can prepend reordering info to the tags.

The code is |X where X is from 1 to 9 indicating the new location relative to the locations of other tags.

Code:
tagPrefixToBecomeSuffix=|1Warrior's
Tags without reordering info set are considered to have '|0'. The tags making up the item name are then sorted in order of their indexes and the item name is created.

In this case, Warrior's would be moved to the end of the string since all other tags aren't reordered.

Conversation Localization

Gender of Target

You can change npc speech in conversations based on the gender of the target the npc is talking to (usually the player) using gender tags.

Code:
Hello [[ms]sir[fs]madam], how are you today?
Support for Scriptio Continua

If your language uses scriptio continua and you are encountering text wrapping issues in conversations, add the line "wordmode=false" to your language.def file.

Questions?

If you have game related issues with your translation you can post in this thread for help.

Thanks to the community localizers for their effort!
Attached Files
File Type: zip v1002_english.zip (589.3 KB, 587 views)
  #2  
Old 03-17-2016, 01:32 AM
all_zebest's Avatar
all_zebest all_zebest is offline
Emissary
 
Join Date: Jan 2011
Location: Ichikawa, Japan.
Posts: 896
Default

Thank you!
__________________
Epic Edition owner, Digital Deluxe Edition backer AND Co-translator and proof-reader of the French Edition.
  #3  
Old 03-17-2016, 02:49 AM
Matougi Matougi is offline
Emissary
 
Join Date: Sep 2014
Location: Japan
Posts: 951
Default

Thanks Rhis!
  #4  
Old 03-17-2016, 04:04 AM
MagoIlusionista's Avatar
MagoIlusionista MagoIlusionista is offline
Supporter
 
Join Date: Sep 2014
Location: Brazil
Posts: 122
Default

Hello Rhis

1.
Since you added gender support to the Active Quests tab, it's also necessary to add it to the Completed Quests tab. Completed quests are currently displaying gender tags in game.


2. Any chance of adding gender support to the intro?


3. There is a typo in tags_tutorial.txt (line 269):

tagQuickTip43=^{z}Blueprints{^-}{^n}{^n}Visit the Blacksmith to craft items using the Blueprints you have learned, and the crafting materials you have found.

It should be:

tagQuickTip43={^z}Blueprints{^-}{^n}{^n}Visit the Blacksmith to craft items using the Blueprints you have learned, and the crafting materials you have found.


4. The fonts used in the loading screen aren't being displayed properly at certain resolutions (I play @1360x768).

  This is the last staff post in this thread.   #5  
Old 03-17-2016, 06:14 AM
Rhis's Avatar
Rhis Rhis is offline
Crate Employee - Programmer
 
Join Date: Nov 2009
Posts: 1,760
Default

Quote:
Originally Posted by MagoIlusionista View Post
Hello Rhis

1.
Since you added gender support to the Active Quests tab, it's also necessary to add it to the Completed Quests tab. Completed quests are currently displaying gender tags in game.


2. Any chance of adding gender support to the intro?


3. There is a typo in tags_tutorial.txt (line 269):

tagQuickTip43=^{z}Blueprints{^-}{^n}{^n}Visit the Blacksmith to craft items using the Blueprints you have learned, and the crafting materials you have found.

It should be:

tagQuickTip43={^z}Blueprints{^-}{^n}{^n}Visit the Blacksmith to craft items using the Blueprints you have learned, and the crafting materials you have found.


4. The fonts used in the loading screen aren't being displayed properly at certain resolutions (I play @1360x768).

With regards to 2, why is it needed? The player character in the intro is neither male nor female. Does your language have no concept of being gender neutral?
  #6  
Old 03-17-2016, 07:26 AM
FOE FOE is offline
Herald
 
Join Date: Oct 2013
Location: Austria, Vösendorf
Posts: 1,065
Default

Many thanks!
__________________
Servus, Erwin
--
I'am from Austria!

Overview of the German translation // Übersicht zur Deutsch-Übersetzung
» http://www.grimdawn.com/forums/showpost.php?p=128756&postcount=4 «
Titan Quest Source - German Forum Grim Dawn
» http://titanquest.4fansites.de/forum/index.php?c=8 «
  #7  
Old 03-17-2016, 08:26 AM
MagoIlusionista's Avatar
MagoIlusionista MagoIlusionista is offline
Supporter
 
Join Date: Sep 2014
Location: Brazil
Posts: 122
Default

Quote:
Originally Posted by Rhis View Post
With regards to 2, why is it needed? The player character in the intro is neither male nor female. Does your language have no concept of being gender neutral?
The way the intro was written makes it hard to translate it in a neutral way. Pretty much everything has a gender in portuguese since we don't have a third person gender-neutral pronoun like "it" or "singular they". If it is difficult for you to implement I will make adaptations but that would sacrifice the quality.

I also need to genderize the word "Heavy" (Heavy Helm, Heavy Pants...). How can I do it?
  #8  
Old 03-17-2016, 10:52 AM
randomspawn randomspawn is offline
Champion
 
Join Date: Oct 2013
Posts: 1,600
Default

Nice!

Just putting my quad string format here for reference, in case anyone struggles with it.

QuadStringFormat={%3a0}{%_3a1}{%_3a2}{%_s3}
[It's (0)Augmented (1)Legendary (2)Heavy (3)Armor]

Note that caster armor has been separated in two tags now, so if in your language you can't have an objective declare possession (i.e. caster armor) and has to be "armor of caster" instead (roughly), you'll probably have to set tagArmorClass01 in tag_items.txt line 828 as one word and then reorder it to go to the end of the string, like so:

tagArmorClass01=|9[ms]caster[fs]caster[ns]caster... (caster obviously in possessive form and one gender of choice)
  #9  
Old 03-17-2016, 04:58 PM
MagoIlusionista's Avatar
MagoIlusionista MagoIlusionista is offline
Supporter
 
Join Date: Sep 2014
Location: Brazil
Posts: 122
Default

Quote:
Originally Posted by randomspawn View Post
Nice!

Just putting my quad string format here for reference, in case anyone struggles with it.

QuadStringFormat={%3a0}{%_3a1}{%_3a2}{%_s3}
[It's (0)Augmented (1)Legendary (2)Heavy (3)Armor]

Note that caster armor has been separated in two tags now, so if in your language you can't have an objective declare possession (i.e. caster armor) and has to be "armor of caster" instead (roughly), you'll probably have to set tagArmorClass01 in tag_items.txt line 828 as one word and then reorder it to go to the end of the string, like so:

tagArmorClass01=|9[ms]caster[fs]caster[ns]caster... (caster obviously in possessive form and one gender of choice)
Thanks. Replacing {%s2} with {%_3a2} did the trick.
  #10  
Old 03-17-2016, 06:10 PM
AdmiralAnimE's Avatar
AdmiralAnimE AdmiralAnimE is offline
Acolyte
 
Join Date: Jul 2015
Location: Велика България
Posts: 26
Default

Quote:
Originally Posted by randomspawn View Post
Nice!

Just putting my quad string format here for reference, in case anyone struggles with it.

QuadStringFormat={%3a0}{%_3a1}{%_3a2}{%_s3}
[It's (0)Augmented (1)Legendary (2)Heavy (3)Armor]

Note that caster armor has been separated in two tags now, so if in your language you can't have an objective declare possession (i.e. caster armor) and has to be "armor of caster" instead (roughly), you'll probably have to set tagArmorClass01 in tag_items.txt line 828 as one word and then reorder it to go to the end of the string, like so:

tagArmorClass01=|9[ms]caster[fs]caster[ns]caster... (caster obviously in possessive form and one gender of choice)

Can you tell me what this "_" does? The difference between a string with it and without it %_3a2 vs %3a2
Closed Thread

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

Forum Jump


Grim Dawn ©2017 Crate Entertainment, LLC.
vBulletin® 3.8.4 ©2000-2014, Jelsoft Enterprises Ltd.