How to translate Moqui System like moqui_vi_VN

@michael
I create a new file MyAddons.xml and I add

<!-- olbius Client Components -->
<component name="moqui_vi_VN" group="olbius" version="" branch="main"/>

in this file.
Run:
gradlew getComponent -Pcomponent=moqui_vi_VN
gradlew build
gradlew load
java -jar moqui.war
and access http://localhost:8080

It can only translate system data, not other items (For example: Customers => Khách hàng; Shipping=> Vận Chuyển; new person customer => Người khách hàng mới).

Hoping for your help.

<moqui.basic.LocalizedMessage original=“Customers” locale=“vi” localized=“Khách hàng”/>

2 Likes

Thanks for reply me. Can you tell me which file to put it in?

You can refer to:
base-component/webroot/data/WebrootL10nData.xml
or
component/example/data/ExampleL10nData.xml

2 Likes