EasyUI Forum

General Category => EasyUI for Vue => Topic started by: Rinat on April 14, 2019, 08:07:29 AM



Title: how to change another language
Post by: Rinat on April 14, 2019, 08:07:29 AM
Hello!
I see locate dir in dist folder.
How I can change another language?

this is not working :(
import  "vx-easyui/dist/locale/easyui-lang-ru.js";


Title: Re: how to change another language
Post by: jarry on April 14, 2019, 11:40:11 PM
Try this code.
Code:
import locale from 'vx-easyui/dist/locale/easyui-lang-ru'
Vue.use(EasyUI, {
  locale: locale
});


Title: Re: how to change another language
Post by: Rinat on April 19, 2019, 12:59:45 PM
Thanks Jarry!