Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » problem with internationalization HELP
problem with internationalization HELP [message #774768] Wed, 04 January 2012 14:58 Go to next message
Carmelo  is currently offline Carmelo Friend
Messages: 224
Registered: July 2009
Senior Member
Hi all,
I have an rcp application and I need to convert it using english and italian
....

I'm using eclipse 3.6

based on the found documents and the automatic process of the pdetool
(string replace and internationalization) now I have a main plugin and a
fragment


the fragment has got a nl folder that contains the

- en_US
about.properties
toc.xml
help (folder)
- it_IT
about.properties
toc.xml
help (folder)


from the documentation I created something like this:

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: NLS DAM Archive Support
Bundle-SymbolicName: com.xxx.mwb.dam.nl1
Bundle-Version: 1.0.0
Fragment-Host: com.xxx.mwb.dam;bundle-version="[2.0.0,2.1.0)"
Bundle-ClassPath: nl/,
OSGI-INF/,
nl1.jar,
$nl$/.jar


the about.properties is correclty read but there is no way to get the help.
It gets the one that I have in the main plugin "com.xxx.mwb.dam"


I have tried the help files from the main plug-in but help complains about
missing file ... what is wrong

is there any better documentation on this :(

thx carmelo
Re: problem with internationalization HELP [message #774777 is a reply to message #774768] Wed, 04 January 2012 15:24 Go to previous message
Carmelo  is currently offline Carmelo Friend
Messages: 224
Registered: July 2009
Senior Member
SORRY for my last sentence ...

I have tried to remove the toc.xml and the html files from the main plugin
(leaving the ones inside the fragment). I have tested the rcp but the help
doesn't get loaded as well and I get an exception of missing toc.xml file.

thx


"Kar" <carmeloscala@hotmail.com> ha scritto nel messaggio
news:je1pf8$olc$1@news.eclipse.org...
> Hi all,
> I have an rcp application and I need to convert it using english and
> italian ...
>
> I'm using eclipse 3.6
>
> based on the found documents and the automatic process of the pdetool
> (string replace and internationalization) now I have a main plugin and a
> fragment
>
>
> the fragment has got a nl folder that contains the
>
> - en_US
> about.properties
> toc.xml
> help (folder)
> - it_IT
> about.properties
> toc.xml
> help (folder)
>
>
> from the documentation I created something like this:
>
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: NLS DAM Archive Support
> Bundle-SymbolicName: com.xxx.mwb.dam.nl1
> Bundle-Version: 1.0.0
> Fragment-Host: com.xxx.mwb.dam;bundle-version="[2.0.0,2.1.0)"
> Bundle-ClassPath: nl/,
> OSGI-INF/,
> nl1.jar,
> $nl$/.jar
>
>
> the about.properties is correclty read but there is no way to get the
> help. It gets the one that I have in the main plugin "com.xxx.mwb.dam"
>
>
> I have tried the help files from the main plug-in but help complains about
> missing file ... what is wrong
>
> is there any better documentation on this :(
>
> thx carmelo
>
>
Previous Topic:TreeViewer losing selection on collapse
Next Topic:RCP fonts looks weird in one PC
Goto Forum:
  


Current Time: Sat Dec 20 03:02:01 GMT 2014

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

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