[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: translated kde dialogs
From:       Thiago Macieira <thiago () kde ! org>
Date:       2006-03-29 15:22:45
Message-ID: 200603291722.53661.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Miguel Ángel Tribaldos wrote:
>Hi all,
>
>I'm not an experienced KDE developer.
>My question is: How to do KFileDialog and others KDE dialogs show
> translated?? (spanish)
>

Here's how it works:

1) Developers write everything in English.
2) Everything that is supposed to be translated is marked specially in 
code
3) All of the marked strings are extracted to a file, which is then given 
to translators
4) Translators translate all strings (not words, not sentences; whole 
strings)
5) When the dialog is about to be shown, we take that string and look it 
up in the translation list. If we find the translation, we show it.

So, when you see in the code: i18n("Message in English"), that will be 
translated to whichever language has been selected by the user config.

-- 
Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
  thiago.macieira (AT) trolltech.com     Trolltech AS
    GPG: 0x6EF45358                   |  Sandakerveien 116,
    E067 918B B660 DBD1 105C          |  NO-0402
    966C 33F5 F005 6EF4 5358          |  Oslo, Norway

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic