Hi all,

In order to localize any carbon product, one must generate the language
bundles containing the preferred language resource files. Ant task named as
"localize" added to the build.xml [1] makes it possible to generate the
fragment bundles for any of the product.

As per explained in a different thread, one must create the resource files
in the following structure adhering to the proper naming conventions.

<resources folder in CARBON_HOME>
            |-------*org.wso2.carbon.claim.mgt.ui_4.0.1*
            |              |-------resources_fr.properties
            |              |-------resources_fr_BE.properties
            |              |-------*your desired language files*
            |
            |------*-org.wso2.carbon.feature.mgt.ui_4.0.6*
            |              |-------resources_fr.properties
            |              |-------resources_fr_BE.properties
            |
            |---------
            |
            |-------*what ever ui bundles that fragments are needed*

And then run the ant task localize, so that fragment bundles will be
created in the CARBON_HOME/repository/components/dropins

Through the resource.directory and dropins.directory properties one can
change the locations of stored and generated.
    Ex:-  ant localize -Dresources.directory=<path to resource folder>
-Ddropins.directory=<path to dropins folder>

@ Pradeep : Can you please review and commit the patch.

[1] https://wso2.org/jira/browse/CARBON-14123

Thanks,
Tanya.



<https://wso2.org/jira/browse/CARBON-14123>--
Tanya Madurapperuma

Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94718184439
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to