[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [p2-dev] externalized strings
- From: "Haigermoser, Helmut" <Helmut.Haigermoser@xxxxxxxxxxxxx>
- Date: Wed, 20 May 2009 10:31:39 +0200
- Delivered-to: email@example.com
- Thread-index: AcnYtGSXb8XB38zaTnG01xLau5GyagAcPjHg
- Thread-topic: [p2-dev] externalized strings
Thanks susan, that's what I have been looking for! :)
From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On
Behalf Of Susan Franklin McCourt
Sent: Tuesday, May 19, 2009 9:01 PM
To: P2 developer discussions
Subject: Re: [p2-dev] externalized strings
The helper method you want is in
There is also a bug report open about moving this class to the core.
There can be a performance hit (esp if the localization files are on the
network), so the standard property retrieval methods do not assume you
want the localized versions of the properties.
Inactive hide details for "Haigermoser, Helmut"
Sent by: p2-dev-bounces@xxxxxxxxxxx
05/19/2009 07:54 AM
Please respond to P2 developer
To: "P2 developer discussions" <p2-dev@xxxxxxxxxxx>
Subject: [p2-dev] externalized strings
Hi @ll :)
I've had some issues displaying my available updates, thought I'd ask
the experts before filing a bz.
Basically, what I'm struggling with is externalized strings, once in my
product and all the time for my bundles.
In my product, the name is in the .product file is "%productName", with
the real name being stored in the "Bundle-Externalization" file.
Looks like pde/p2 does not translate that string at all, guess that's
either my fault or a real bug...
Also, when trying to display bundles' names I am only getting the
externalization keys when trying to look up the IU-Name property, a nice
feature there would be a method, maybe in ProvisioningHelper, that gets
the real name back to me, (getExternalizedString(String property, Locale
locale) or something)...
p2-dev mailing list