GithubHelp home page GithubHelp logo

Comments (4)

keepon-01 avatar keepon-01 commented on May 27, 2024

这个问题不仅存在UMD模式下,还存在html模式和ESM模式,感觉语言切换的功能未开放给用户。

from g6vp.

RackweLLizm avatar RackweLLizm commented on May 27, 2024

@keepon-01
Step 1:
Configure language settings from the relevant files.
language

Step 2:
I don't know if this was an issue that has been fixed, but if it still persists, follow the heading below:
#537

from g6vp.

keepon-01 avatar keepon-01 commented on May 27, 2024

Thank you for your response. I noticed your previous issue regarding the language problem on the G6VP website. Now, in the top right corner of the website, you can directly switch the language.
image

However, my current problem is with the language display in the UMD source code exported after selecting my own components on the G6VP website.
image

I have previously examined the source code and noticed that many packages contain an i18n directory with language settings. However, the issue I am currently facing is that the UMD source code exported from the G6VP website does not include the source code of these packages; it only contains a simple index.tsx file with a few lines of code. From a flexibility perspective, I believe it would be beneficial to expose the locale parameter to users.
image
Because I want to redeploy the exported UMD source code to my project and hope it display entirely in English.

@keepon-01 Step 1: Configure language settings from the relevant files. language

Step 2: I don't know if this was an issue that has been fixed, but if it still persists, follow the heading below: #537

from g6vp.

keepon-01 avatar keepon-01 commented on May 27, 2024

@keepon-01 Step 1: Configure language settings from the relevant files. language

Step 2: I don't know if this was an issue that has been fixed, but if it still persists, follow the heading below: #537

I have tried your method and it works, thank you very much.

from g6vp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.