Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Translatable update site
Translatable update site [message #1776991] Thu, 23 November 2017 13:17 Go to next message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 221
Registered: March 2010
Location: France
Senior Member
Hello,
I would like to brand (and translate) an update site
It seems to be possible according to https://help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Fguide%2Ftools%2Feditors%2Fsite_editor%2Fsite_map.htm

"A category has a name and a translatable label for display."

I found how to do this for feature (by providing feature<_locale>.properties), I did not find how to do this for p2 update site itself.

Thanks for your help

[Updated on: Thu, 23 November 2017 13:30]

Report message to a moderator

Re: Translatable update site [message #1777005 is a reply to message #1776991] Thu, 23 November 2017 14:38 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 788
Registered: January 2012
Senior Member

I would guess that it uses a similar mechanism as to plugin.xml, where you use a '%' prefix to indicate an externalized string. Try using '%title' and put a 'title=XXXX' in a site.properties file located alongside your site.xml.

Brian.


Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Re: Translatable update site [message #1777023 is a reply to message #1777005] Thu, 23 November 2017 16:00 Go to previous message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 221
Registered: March 2010
Location: France
Senior Member
Thanks your are right this is working.
by adding site<_locale>.properties close to site.xml, when building the update site, content.xml is updated with translations
Previous Topic:Older bundle version remain in plugin folder after update
Next Topic:How to ignore p2.inf for linux builds / replace myproduct.exe with renamed eclipsec.exe
Goto Forum:
  


Current Time: Sat Nov 17 18:57:01 GMT 2018

Powered by FUDForum. Page generated in 0.02323 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top