Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to change the language to china ,how ? #131

Open
kt7456 opened this issue Jan 14, 2019 · 4 comments
Open

how to change the language to china ,how ? #131

kt7456 opened this issue Jan 14, 2019 · 4 comments

Comments

@kt7456
Copy link

kt7456 commented Jan 14, 2019

i dont know how to use,there has no example can find,please teach me!

@527760681
Copy link

just import the leaflet-measure/dist/leaflet-measure.cn.js javascript file instead of leaflet-measure.js

@ThuanLCSE
Copy link

ThuanLCSE commented Jan 13, 2021

Hello, I'm using VueJS, and the library was imported via npm install and then in Vue component: import {} from "leaflet-measure";
Then how can I update the language dynamically ?
I think the localization option is awesome, isn't it ?

@Gilson401
Copy link

Hello, I'm using VueJS, and the library was imported via npm install and then in Vue component: import {} from "leaflet-measure"; Then how can I update the language dynamically ? I think the localization option is awesome, isn't it ?

Hi, have you got a solution?

@Gilson401
Copy link

Hello, I'm using VueJS, and the library was imported via npm install and then in Vue component: import {} from "leaflet-measure"; Then how can I update the language dynamically ? I think the localization option is awesome, isn't it ?

Hi, have you got a solution?

I just got a solution. You need import the js lang file. In my case it was in placed in "node_modules\leaflet-measure\dist\leaflet-measure.pt_BR.js"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants