Jump to content
Age of History 3
Łukasz Jakowski

Age of History 3 - Mods Translations for Different Languages

Recommended Posts

How to Add Translations for Different Languages to Your Mod

game/_FAQ/Translations_For_Your_Mod.txt

 

Each mod can have its own translation files!

#######################################
## Read: mods_steam_workshop.txt !
## 
## To create a new mod for submission to the Steam Workshop, first create a new folder for your mod within the 'mods' directory.
## Then, copy or recreate all the modified files into that folder!
##
## For example, if a file was originally located in game/ExampleFile.json, 
## it should be placed in mods/YourModName/game/ExampleFile.json in your mod's folder.
##
#####

You can add anything that needs to be translated to the translation files: events, buildings, 
technologies, units, legacies, laws, Civilization names, and more!

####

How to Add Translations for Different Languages to Your Mod

Go to Your Mod Folder:
mods/YourMod/
## Instead 'YourMod' use unique name for YourMod!!

Create a Languages Folder: Inside your mod folder, create a new folder called:
languages

The path for your translations will now be:
mods/YourMod/languages/

#####
Create the Default English Translation File: Inside the languages folder, create a file named:
Bundle.properties

So the full path will look like this:
mods/YourMod/languages/Bundle.properties

This file will serve as your default English translation.
Inside the file, add your translatable text as key-value pairs. Here’s an example for unit names:

###########################

SharkCat = Shark Cat
HomeCat = Home Cat
DadCat = Dad Cat

###########################

The text on the left side (before the =) is the key.
The text on the right side (after the =) is the translation.


####
Add Translations for Other Languages, Example: Polish
To add translations for another language, such as Polish, you’ll need to create a new file in the same languages folder.

All the game’s translation formats can be found in:

game/languages/
From this, you’ll find that Polish translations use '_pl' in the file name.
So, create a new file for Polish:

mods/YourMod/languages/Bundle_pl.properties

Inside this file, provide the Polish translations like this:

###########################

SharkCat = Kot Rekin
HomeCat = Domowy Kot
DadCat = Kot Tata

###########################

You're Done! Now your mod has both English and Polish translations.

For a complete example, check out:

modsExamples/NewUnits_PlusTranslations/

###########################

Do not add translations to the main game translation files!
game/languages/

Use mod-specific translations instead!
mods/YourMod/languages/

 

Example:

https://steamcommunity.com/sharedfiles/filedetails/?id=3348698884

Share this post


Link to post
Share on other sites

26 minutes ago, Iceman said:

If someone wants to modify something from the original translation files, for example civilization name, it works like this too?

Yes, if you include a key that already exists in the main translation, it will be overridden.

You can change the Civilization name or anything else.

Of course, all the changes you make should be added to: mods/YourMod/languages/

 

19 minutes ago, Redguy325 said:

So original deafult translation won't get overwritten by mods? You don't have to copy full translation from the original files to the mod?

The main translation file will not be overwritten. You don't have to copy full translation from the original files to the mod.

This is an additional translation file; you start with an empty file and add new translations.

11 minutes ago, neverger84 said:

To translate a civilization need to use civ ID or civ name as a translation key?

For Civilizations you use CivTag

CivTag = Translation

pol = Poland

 

And:

Do not add translations to the main game translation files!
game/languages/

Use mod-specific translations instead!
mods/YourMod/languages/

Share this post


Link to post
Share on other sites

Quote

 

54 minutes ago, Łukasz Jakowski said:

Yes, if you include a key that already exists in the main translation, it will be overridden.

You can change the Civilization name or anything else.

Of course, all the changes you make should be added to: mods/YourMod/languages/

 

The main translation file will not be overwritten. You don't have to copy full translation from the original files to the mod.

This is an additional translation file; you start with an empty file and add new translations.

For Civilizations you use CivTag

CivTag = Translation

pol = Poland

 

And:

Do not add translations to the main game translation files!
game/languages/

Use mod-specific translations instead!
mods/YourMod/languages/

for arabic, will the game support the writing style? since arabic is written right to left

 

38 minutes ago, OwnM3Z0 said:

for arabic, will the game support the writing style? since arabic is written right to left

It is like that

image.png.6419cafc4682f360f1567955f6987752.png


image.thumb.png.a90a98e77f513b1eb35b2570a0e3f999.png

image.thumb.png.b566be60a0fd760b20fe8ac6b7200ed6.png

image.thumb.png.10846730ab810808d09197dd812f658a.png

 

18 minutes ago, Łukasz Jakowski said:

It is like that

image.png.6419cafc4682f360f1567955f6987752.png


image.thumb.png.a90a98e77f513b1eb35b2570a0e3f999.png

image.thumb.png.b566be60a0fd760b20fe8ac6b7200ed6.png

image.thumb.png.10846730ab810808d09197dd812f658a.png

many of the letters are skewed and disconnected so they're unreadable, please fix it

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Our picks

    • Age of History 3 - October 23rd, 2024 - Official release date
      Age of History 3 - Official release date

       

      Steam: October 23rd, 2024

      Android: When it's ready

      iOS: When it's ready

      Epic: When it's ready

       
    • Campaign: Small Scenarios
      In this topic, share your ideas for Campaign scenarios.

      These scenarios focus on a small part of the map, with the rest designated as wasteland.

       

      For example, a scenario of the Reconquista in 1054, where gameplay takes place only on the Iberian Peninsula.

      What are your ideas for small historical scenarios?

       


       
    • Events - Common events for every civilization in the game
      Hi,
      in this topic, I am interested in your ideas for events that can happen for every Civilization in the game.
      I'm also interested in Missions for every Civilization.

      Here is some example, have more than 10k army, have more than 5000 gold, build 10 buildings, recruit an Advisor, increase tax efficiency 20 times, be largest  producer of some resource in the world, unlock 5 Civilization legacies etc.
      • 196 replies
    • First preview of the Alpha version of Age of History 3
      First preview of the Alpha version of Age of History 3, YouTube.
      Release date: When it's ready 😛 Subscribe for more!



       





       
    • Land units - Ideas AoH3
      AoH3 will have different types of land units.

      In this topic we will write ideas for new land units. 

       

      So the AoH 3 will have new battle system.


      Representation of the battlefield in the game.


      Land units will be grouped into 3 types. Each unit will have a different recruitment cost, attack, defense, movement speed and upkeep.

      Groups determine the placement of units on the battlefield.


       

      Each unit can be unlocked by researching technology and then upgraded.

       

      Here is the current list of units with upgrades:

      First line:

      Warrior -> Light Footmen -> Heavy Infantry -> Infantry -> Line Infantry -> Modern Infantry

      Hoplites -> Spearmen -> Pikeman -> Elite Pikeman -> Musketeer -> Riflemen -> Mechanized Infantry -> Modern Mechanized Infantry

      First line side:

      Horseman -> Elite Horseman -> Cavalry -> Tank -> Modern Tank

      Second line:

      Archer -> Bowmen -> Crossbowman -> Elite Crossbowman

      Canon -> Field Cannon -> Artillery -> Modern Artillery

      Early Airplane -> Airplane -> Modern Airplane

       

      This is a very early version, so maybe something should be changed?

      Or maybe an idea for a new type of unit with upgrades? I'm waiting for your suggestions.

       
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games