Results 1 to 2 of 2

Thread: Translating with .POT/.PO files

  
  1. #1
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Translating with .POT/.PO files

    The in-game string messages for KeeperFX are now stored in .PO files.
    The DAT files with strings for the game are generated out of .POs.

    Summary:
    Anyone may now translate or improve existing translation of KeeperFX.

    Details:
    The .PO is a common translation format; translators usually use poEdit to open them, but it's a text-based format.

    poEdit:
    http://www.poedit.net/download.php

    The .PO files in KeeperFX:
    https://code.google.com/p/keeperfx/s...eeperfx%2Flang

    Original, english messages are written in .POT file. This file can be edited simply in text editor if the messages are to be changed.
    if .POT file changes, it is easy to update all .PO files and mark translations which are no longer valid and should be fixed.
    Also, .POT file may be used to create completely new translations (I will add them to KeeperFX is such translations are made).

    The .PO/.POT files have UTF-8 charset, so editing them is quite easy, even the chinese translations.

    How to make TEXT.DAT out of .PO/.POT:
    I'm working on a tool to do that; it doesn't yet support asian languages, but seem to work fine with european files. The DAT files will soon be automatically created when the code from SVN is compiled.

  2. #2
    Dragon DragonsLover's Avatar
    Join Date
    Aug 2009
    Location
    Quebec
    Posts
    1,490
    Gamer IDs

    Steam ID: dragonslover

    Default Re: Translating with .POT/.PO files

    Good to know. I'll have to investigate into this.
    I like dragons! They're the center of my life! I'll never forget them...



Similar Threads

  1. Custom Map Files
    By Warren in forum DK2 Troubleshooting
    Replies: 3
    Last Post: February 24th, 2012, 13:12
  2. The original campaign files
    By Neonwings in forum Dungeon Keeper 2
    Replies: 3
    Last Post: March 29th, 2011, 17:15
  3. How to open .BF4 files?
    By Tomix in forum Dungeon Keeper 2
    Replies: 3
    Last Post: October 2nd, 2009, 16:42
  4. Program Files
    By dk2player in forum Dungeon Keeper 1
    Replies: 3
    Last Post: September 1st, 2009, 16:28

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •