Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

About

Project to hold Admin locale specific property files

Resources

Stars

0 stars

Watchers

32 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language pack for the Broadleaf Commerce Admin

Instructions to add this language pack to the Admin Demo:

  1. Download the Admin Demo from https://github.com/BroadleafCommerce/BroadleafCommerceDemoSite

  2. Modify the dependency-management section of pom.xml to add the Swedish language dependency.

    <dependency>
        <groupId>org.broadleafcommerce</groupId>
        <artifactId>broadleaf-admin-language-pack-sv</artifactId>
        <version>1.7.0-SNAPSHOT</version>
        <type>jar</type>
        <scope>compile</scope>
    </dependency>
  1. Modify the dependency section of pom.xml to add the Swedish language dependency.
    <dependency>
        <groupId>org.broadleafcommerce</groupId>
        <artifactId>broadleaf-admin-language-pack-sv</artifactId>
    </dependency>
  1. Repeat steps 2 - 3 for any other languages you wish to install (e.g. broadleaf-admin-language-pack-es for Spanish, etc...)

  2. Modify demoAdmin.gwt.xml to include the languages you would like to compile. Here's a sample:

    <module>
        <inherits name="com.google.gwt.user.User" />
        <inherits name="com.google.gwt.precompress.Precompress"/>
        <inherits name="org.broadleafcommerce.admin.merchandisingModule" />
        <inherits name="org.broadleafcommerce.admin.customerCareModule" />
        <inherits name="org.broadleafcommerce.openadmin.userModule" />
        <inherits name="org.broadleafcommerce.cms.admin.contentManagementModule" />
        <inherits name="com.google.gwt.core.CompilerParameters"/>
        <inherits name="com.google.gwt.i18n.I18N"/>
    
        <extend-property name="locale" values="en_US"/>
        <extend-property name="locale" values="sv"/>
        <extend-property name="locale" values="es"/>
        <extend-property name="locale" values="fr"/>
        <set-property-fallback name="locale" value="en_US"/>

        <entry-point class="org.broadleafcommerce.openadmin.client.BLCLaunch" />
        <set-property name="user.agent" value="gecko1_8" />
    </module>
  1. Run mvn install and launch the admin as normal

  2. Modify the url to add the locale for the changes to occur.

    http://localhost:8080/broadleafdemo/admin.html?locale=sv

About

Project to hold Admin locale specific property files

Resources

Stars

0 stars

Watchers

32 watching

Forks

Releases

Packages

Contributors