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 12-14-2016, 05:33 PM
Rhis's Avatar
Rhis Rhis is offline
Crate Employee - Programmer
 
Join Date: Nov 2009
Posts: 1,726
Default Community Localizations (v1.0.0.7)

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 1007_english_fixed.zip (581.4 KB, 194 views)
  #2  
Old 12-14-2016, 06:12 PM
Matougi Matougi is offline
Campaigner
 
Join Date: Sep 2014
Location: Japan
Posts: 795
Default

Thank you for the early release. But there are few new elements, is this okay?
  #3  
Old 12-14-2016, 06:45 PM
DenisMashutikov DenisMashutikov is offline
Supporter
 
Join Date: Mar 2015
Posts: 130
Default

Rhis, are you added Vinque Cyrillic to russian localization?
  #4  
Old 12-14-2016, 06:53 PM
gregory_portman gregory_portman is offline
Advocate
 
Join Date: Nov 2015
Location: Polska/Poland
Posts: 406
Default wrong file?

my program says, that the file you just uploaded is the exact copy of 1.0.0.6 files
  #5  
Old 12-14-2016, 07:02 PM
ldtime's Avatar
ldtime ldtime is offline
Supporter
 
Join Date: Jun 2012
Location: Santiago de Compostela
Posts: 152
Default

Quote:
Originally Posted by gregory_portman View Post
my program says, that the file you just uploaded is the exact copy of 1.0.0.6 files
Yep, mine too (winmerge).
__________________
Traducción al español, grupo de steam e instrucciones: http://steamcommunity.com/groups/grimdawn-es
  Click here to go to the next staff post in this thread.   #6  
Old 12-15-2016, 01:47 AM
Rhis's Avatar
Rhis Rhis is offline
Crate Employee - Programmer
 
Join Date: Nov 2009
Posts: 1,726
Default

Sorry, file has now been updated to the correct one.
  #7  
Old 12-15-2016, 03:05 AM
EsclaveDuReve's Avatar
EsclaveDuReve EsclaveDuReve is offline
Supporter
 
Join Date: May 2014
Location: France
Posts: 133
Default

Is it normal that following Crucible txt files have been removed?

npc_event_01
npc_event_02
npc_event_03

npc_powerups_01

object_defensite_01 to object_defensesite_04c

tags_survival
tags_survivalui
__________________
Translator for the community Chinese translation.
  Click here to go to the next staff post in this thread.   #8  
Old 12-15-2016, 03:29 AM
Rhis's Avatar
Rhis Rhis is offline
Crate Employee - Programmer
 
Join Date: Nov 2009
Posts: 1,726
Default

Quote:
Originally Posted by EsclaveDuReve View Post
Is it normal that following Crucible txt files have been removed?

npc_event_01
npc_event_02
npc_event_03

npc_powerups_01

object_defensite_01 to object_defensesite_04c

tags_survival
tags_survivalui
No, good catch. Fixed.
  #9  
Old 12-15-2016, 07:40 AM
FOE FOE is offline
Emissary
 
Join Date: Oct 2013
Location: Austria, Vösendorf
Posts: 955
Default

Hello Rhis!

Thanks for the translation file for the upcoming update.
__________________
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 «
  #10  
Old 12-15-2016, 08:34 AM
Matougi Matougi is offline
Campaigner
 
Join Date: Sep 2014
Location: Japan
Posts: 795
Default

Thaks. Now, time to get busy!
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.