Hi, 
     
    Generally, Eclipse plugins do not ship i18n by themselves. Each
    plugin usually comes with a "Messages extends NLS" class that reads
    label in a "messages.properties" that you can find at the root of
    the bundle through a call to "initializeMessages". The
    messages.properties contains english labels. 
    The other languages are provided to this bundle by fragments that
    contain a "messages_[locale].properties". Then the Messages class
    will resolve label by reading the messages in the fragment too.
    Then, there is no i18n folder. The Babel projects provide language
    packs (ie fragments for one project and one language) 
     
    To sum it up, here is the usual organisation for i18n: 
     
    org.eclipse.bundle 
    * src/org/eclipse/bundle/Messages.java 
    * messages.properties 
     
    org.eclipse.bundle.fr_FR 
    * messages_fr_FR.properties 
     
    HTH 
     
    On 12/08/2011 14:26, Daniel Pastore wrote:
    Hi guys, 
       
      I was wondering if is there a standard path for the i18n folder in
      the eclipse plugin structure. 
      I usually see it in something like src/plugin_name/i18n, but I
      couldn't find any definition of the "correct" path. 
       
      Any guidance is most welcome! 
      --  
      Thanks, 
       
      Daniel Pastore 
      
 
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
     
     
     
    
  
 |