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

List:       kde-core-devel
Subject:    Re: XML and internationalization question
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-03-29 22:58:07
[Download RAW message or body]

On Wed, Mar 29, 2000 at 05:53:25PM -0500, Emily Ezust wrote:
> Let's say I want to create a KStdAction but I want to change the visible
> text. In my rc file I would have this:
> <ActionProperties>
>   <Action name="file_new" text="New Penguin"/>
> </ActionProperties>

Yes.

> But how will that get internationalized? I can't do this (I tried it
> just
> for giggles):
>  text="i18n(\"New Penguin\")"

You don't have to. Stephan's scripts process the rc files and
generate pots for translators to work on - and the action framework
uses the translations when available.
It's all automagic ;-)

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today
See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2

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

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