EasyUI Forum
March 28, 2024, 07:04:45 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: how to change another language  (Read 6667 times)
Rinat
Newbie
*
Posts: 31


View Profile
« 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 Sad
import  "vx-easyui/dist/locale/easyui-lang-ru.js";
Logged
jarry
Administrator
Hero Member
*****
Posts: 2260


View Profile Email
« Reply #1 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
});
Logged
Rinat
Newbie
*
Posts: 31


View Profile
« Reply #2 on: April 19, 2019, 12:59:45 PM »

Thanks Jarry!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!