Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-help-dev] NLS and Eclipse help system

Hi, Konrad:

Thanks for the explanation.  I have two followup questions.

First, just to confirm, the localization scheme for zipped
documentation is the same as for unzipped, right?  That is,
the example for Eclipse version 2 would replace the
underscore in the locale identifier with a directory
separator, as in:

plugins/yourplugin/nl/zh/CN/doc.zip

Second, in the "infocenter" Eclipse scenario, is there
any provision for clients with different locales connecting
to a single Eclipse web server?  Could a client use
a query parameter to set the locale in a session
variable on the server?


Regards,


Erik Hennum
ehennum@xxxxxxxxxx




                                                                                                                                        
                      Konrad                                                                                                            
                      Kolosowski/Toronto/IBM@I        To:       platform-help-dev@xxxxxxxxxxx                                           
                      BMCA                            cc:       platform-help-dev@xxxxxxxxxxx, platform-help-dev-admin@xxxxxxxxxxx      
                      Sent by:                        Subject:  Re: [platform-help-dev] NLS and Eclipse help system                     
                      platform-help-dev-admin@                                                                                          
                      eclipse.org                                                                                                       
                                                                                                                                        
                                                                                                                                        
                      04/10/2002 11:31 AM                                                                                               
                      Please respond to                                                                                                 
                      platform-help-dev                                                                                                 
                                                                                                                                        
                                                                                                                                        



Hi,

In Eclipse 1.0 content files could reside in one of the following
directories(I will use Simplified Chinese in the example).  I list them in
the order that they are searched:
plugins/yourplugin/nl/zh_CN/
plugins/yourplugin/nl/zh/
plugins/yourplugin/nl/   - this will usually not have any files
plugins/yourplugin/ - this will usually have English files to be default to

In Eclipse 2.0 it is changing to:
plugins/yourplugin/nl/zh/CN/
plugins/yourplugin/nl/zh/
plugins/yourplugin/nl/   - this will usually not have any files
plugins/yourplugin/ - this will usually have English files to be default to

And for the documentation content html files, you should have them all
zipped into one file called doc.zip.  You would probably save this zip as
plugins/yourplugin/nl/zh_CN/doc.zip

Konrad Kolosowski
Eclipse Help System




                    Erik

                    Hennum/Oakland/IBM@IBMUS        To:
platform-help-dev@xxxxxxxxxxx
                    Sent by:                        cc:

                    platform-help-dev-admin@e       Subject:
[platform-help-dev] NLS and Eclipse help system
                    clipse.org



                    04/10/2002 01:50 PM

                    Please respond to

                    platform-help-dev






Hi, Ecliptans:

Can someone explain or provide an information resource for the Eclipse NLS
subdirectory structure within the documentation plugin directory?

From the org.eclipse.core.runtime.Plugin source code, it looks similar to
the following:

   eclipse
      plugins
         documentationPlugin
            nl
               languageIdentifier1
                  localized content files
               languageIdentifier2
                  localized content files

Is that right?

What would the language identifiers be?  It looks like a language
identifiers can have multiple components, which are separated by
underscores in the identifier and represented with subdirectories in the
plugin.


Thanks in advance,


Erik Hennum
ehennum@xxxxxxxxxx


_______________________________________________
platform-help-dev mailing list
platform-help-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-help-dev



_______________________________________________
platform-help-dev mailing list
platform-help-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-help-dev






Back to the top