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

Reply
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 04-09-2019, 06:21 PM
Rhis's Avatar
Rhis Rhis is offline
Crate Employee - Programmer
 
Join Date: Nov 2009
Posts: 1,806
Default Community Localizations (v1.1.1.2)

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
version=v1.1.0.0
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.

Localizing DLC

Beginning with the release of the Forgotten Gods expansion (v1.1.0.0), the zip file format has changed to include two subdirectories, "fg" (Forgotten Gods), and "aom" (Ashes of Malmouth). Translation files specific to these expansions should appear in these subfolders, and the game will load them appropriately when the expansions are present. This change has been made to allow translations for the base game and expansions to be contained within a single zip file.

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
"TR" - Turkish

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 community_english_1112_040919.zip (1.14 MB, 142 views)
Reply With Quote
  #2  
Old 04-09-2019, 08:33 PM
Matougi Matougi is offline
Champion
 
Join Date: Sep 2014
Posts: 1,678
Default

Thanks for the new translation pack. This makes accurate translation possible.
Reply With Quote
  #3  
Old 04-10-2019, 11:52 AM
FOE FOE is offline
Herald
 
Join Date: Oct 2013
Posts: 1,379
Default

Thank you!
__________________
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 «
Reply With Quote
  #4  
Old 04-15-2019, 09:31 PM
Matougi Matougi is offline
Champion
 
Join Date: Sep 2014
Posts: 1,678
Default

Please check the file size that can be uploaded.

After maintenance on this site, the following display appears, and our translation files can not be uploaded.
The file is about 1.6MB in size and could be uploaded before.

Attached Thumbnails
Click image for larger version

Name:	413_tooLarge.jpg
Views:	290
Size:	18.7 KB
ID:	22049  
Reply With Quote
  Click here to go to the next staff post in this thread.   #5  
Old 04-15-2019, 11:52 PM
Rhis's Avatar
Rhis Rhis is offline
Crate Employee - Programmer
 
Join Date: Nov 2009
Posts: 1,806
Default

Quote:
Originally Posted by Matougi View Post
Please check the file size that can be uploaded.

After maintenance on this site, the following display appears, and our translation files can not be uploaded.
The file is about 1.6MB in size and could be uploaded before.

Thanks for the report, this should hopefully now be fixed.
Reply With Quote
  #6  
Old 04-16-2019, 05:39 AM
FOE FOE is offline
Herald
 
Join Date: Oct 2013
Posts: 1,379
Default

Quote:
Originally Posted by Rhis View Post
Thanks for the report, this should hopefully now be fixed.
Unfortunately not!?
Attached Thumbnails
Click image for larger version

Name:	-.jpg
Views:	26
Size:	76.0 KB
ID:	22057  
__________________
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 «
Reply With Quote
  #7  
Old 04-16-2019, 10:20 AM
Matougi Matougi is offline
Champion
 
Join Date: Sep 2014
Posts: 1,678
Default

Thank you, the upload to this forum has been improved quickly.

But, as FOE says, the uploader to Crate is not doing well (the upload screen is blank).
Please make it possible to upload to Crate so that we can download from the option in the game.
Reply With Quote
  This is the last staff post in this thread.   #8  
Old 04-16-2019, 08:40 PM
Rhis's Avatar
Rhis Rhis is offline
Crate Employee - Programmer
 
Join Date: Nov 2009
Posts: 1,806
Default

Thanks for the reports. The localization uploader should now be working correctly.
Reply With Quote
  #9  
Old 04-17-2019, 05:56 AM
FOE FOE is offline
Herald
 
Join Date: Oct 2013
Posts: 1,379
Default

Yes! Thanks, now it works fine!
__________________
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 «
Reply With Quote
  #10  
Old 04-17-2019, 05:00 PM
Matougi Matougi is offline
Champion
 
Join Date: Sep 2014
Posts: 1,678
Default

Thanks for fixing the uploader.
Reply With Quote
Reply

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 ©2019 Crate Entertainment, LLC.
vBulletin® 3.8.11 ©2000-2019, Jelsoft Enterprises Ltd.