amis icon indicating copy to clipboard operation
amis copied to clipboard

Translation

Open abasse opened this issue 5 years ago • 2 comments

Hi, Thanks for the great project!

I would like to add more languages to amis (German and Spanish). How can I do that?

Thanks,

Andre

abasse avatar Jan 18 '21 14:01 abasse

Using registerLocale to replace the default locale of amis, and the key string of locale is chinese character.

import {registerLocale} from 'amis';

https://github.com/zimo888/amis-tutorial/blob/master/src/i18n/amisLocaleRegister.ts

zimo888 avatar Jan 18 '21 15:01 zimo888

Thank you, but please wait two weeks, we about to refactor on this, make it easier to add new language.

nwind avatar Jan 19 '21 02:01 nwind