This is the last staff post in this thread.   #1  
Old 04-30-2018, 06:02 PM
Rhis's Avatar
Rhis Rhis is offline
Crate Employee - Programmer
 
Join Date: Nov 2009
Posts: 1,766
Default Community Localizations (v1.0.6.0)

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.0.6.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.

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 community_english_1060_043018.zip (850.7 KB, 214 views)
Reply With Quote
  #2  
Old 05-01-2018, 12:19 AM
tt300's Avatar
tt300 tt300 is offline
Supporter
 
Join Date: May 2013
Posts: 150
Default

Thank you for the pre release.
__________________
Sorry! My English is not fluent.
Reply With Quote
  #3  
Old 05-01-2018, 09:42 AM
Matougi Matougi is offline
Herald
 
Join Date: Sep 2014
Posts: 1,149
Default

Thanks Rhis, I'm redy!
Reply With Quote
  #4  
Old 05-01-2018, 04:36 PM
FOE FOE is offline
Herald
 
Join Date: Oct 2013
Posts: 1,217
Default

Thanks Rhis!
__________________
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
  #5  
Old 05-02-2018, 04:21 PM
gregory_portman gregory_portman is offline
Campaigner
 
Join Date: Nov 2015
Posts: 601
Default

Hi Boys! Is there many changes/ New Lines?
__________________
Self-styled Polish GD Community Ambassador

Grim Dawn dla zielonych:
https://steamcommunity.com/sharedfiles/filedetails/?id=916207134

AoM CDR Primal Spirit Conjurer:
http://www.grimdawn.com/forums/showthread.php?t=65761
Reply With Quote
  #6  
Old 05-02-2018, 10:30 PM
Matougi Matougi is offline
Herald
 
Join Date: Sep 2014
Posts: 1,149
Default

Quote:
Originally Posted by gregory_portman View Post
Hi Boys! Is there many changes/ New Lines?
The amount of text added and changed is not a great deal. Translation will soon be over.
Reply With Quote
  #7  
Old 05-03-2018, 04:29 AM
Mauricius's Avatar
Mauricius Mauricius is offline
Champion
 
Join Date: May 2013
Posts: 1,520
Default

I know there is a new note added.
__________________
Quote:
Originally Posted by Zantai
Don't try to face tank him.
Reply With Quote
  #8  
Old 05-30-2018, 01:27 PM
all_zebest's Avatar
all_zebest all_zebest is offline
Emissary
 
Join Date: Jan 2011
Posts: 946
Default

I have several reports from players about dialogs not showing properly (i.e. some sentences are attributed to the wrong character), although we verified the number of lines in our translation. It's not the end of the world, but I think it's worth mentioning.
__________________
Epic Edition owner, Digital Deluxe Edition backer AND Co-translator and proof-reader of the French Edition.
Reply With Quote
  #9  
Old 06-01-2018, 05:10 PM
EsclaveDuReve's Avatar
EsclaveDuReve EsclaveDuReve is offline
Supporter
 
Join Date: May 2014
Posts: 146
Default

Quote:
Originally Posted by all_zebest View Post
I have several reports from players about dialogs not showing properly (i.e. some sentences are attributed to the wrong character), although we verified the number of lines in our translation. It's not the end of the world, but I think it's worth mentioning.
There're always some errors in some files since I don't know which version.
__________________
Translator of the community Chinese translation.
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 ©2018 Crate Entertainment, LLC.
vBulletin® 3.8.4 ©2000-2014, Jelsoft Enterprises Ltd.