Coder Social home page Coder Social logo

Comments (24)

jamiebuilds avatar jamiebuilds commented on July 19, 2024 1

@devongovett I would recommend Crowdin so that we can have them automatically synced and have a whole tool for managing them.

I can set this up at some point.

For now just create folders with the different languages and I'll migrate them later:

/en/*.md
/cn/*.md
/ko/*.md

from website.

lcxfs1991 avatar lcxfs1991 commented on July 19, 2024

I will add a dropdown tonight.

from website.

lcxfs1991 avatar lcxfs1991 commented on July 19, 2024

Due to poilcy issue, we need to take a few time to register customized domain at Chinese Gov. So could we add a cname first?

from website.

lcxfs1991 avatar lcxfs1991 commented on July 19, 2024

Plesae try to add CNAME:

cn.parceljs.org.cdn.dnsv1.com

from website.

jamiebuilds avatar jamiebuilds commented on July 19, 2024

Could we just host the Chinese docs within this project?

from website.

lcxfs1991 avatar lcxfs1991 commented on July 19, 2024

Sure. We cold host a copy within this project and another will be hosted within a Chinese cdn speedup server.

from website.

lcxfs1991 avatar lcxfs1991 commented on July 19, 2024

You know due to policy issue, Github maybe sometimes down...............

from website.

jamiebuilds avatar jamiebuilds commented on July 19, 2024

The website isn't hosted on GitHub pages, we can make sure that it's on a service that is available globally.

from website.

lcxfs1991 avatar lcxfs1991 commented on July 19, 2024

great. So shall the Chinese docs be deployed using Zeit Now? Or any other solutions?

from website.

devongovett avatar devongovett commented on July 19, 2024

@lcxfs1991 this is awesome, thanks for your work on it! Want to make a PR with your translations? Maybe we can have subdomains deployed with zeit for the translations, e.g. cn.parceljs.org etc.

from website.

lcxfs1991 avatar lcxfs1991 commented on July 19, 2024

Awesome. What shall I do to deploy the site with zeit?

from website.

devongovett avatar devongovett commented on July 19, 2024

we'll take care of that. zeit is already used to deploy the main site

from website.

devongovett avatar devongovett commented on July 19, 2024

see also #35 for korean.

What's the best way to maintain these so that they don't diverge?

from website.

albinotonnina avatar albinotonnina commented on July 19, 2024

@thejameskyle I read your article about Crowdin and what you did with Babel, looks like the way to go!

Sent with GitHawk

from website.

devongovett avatar devongovett commented on July 19, 2024

I have set up the site to support translations. See #39.

There are subdomains for each translation:

The top level domain https://parceljs.org/ will attempt to detect the browser language using the "Accept-Language" header, and serve that language.

from website.

lcxfs1991 avatar lcxfs1991 commented on July 19, 2024

@devongovett What about Chinese site?

from website.

lcxfs1991 avatar lcxfs1991 commented on July 19, 2024

should I put docs under 'website/src/i18n' ?

from website.

devongovett avatar devongovett commented on July 19, 2024

@lcxfs1991 yes, that would be awesome!

from website.

lcxfs1991 avatar lcxfs1991 commented on July 19, 2024

from website.

devongovett avatar devongovett commented on July 19, 2024

Maybe you can work with @zhenyong who also did a translation https://github.com/zhenyong/parcel-website/tree/gh-pages

from website.

lcxfs1991 avatar lcxfs1991 commented on July 19, 2024

from website.

zhenyong avatar zhenyong commented on July 19, 2024

Awesome!
@lcxfs1991 feel free to contact me to work together if need. ^_^

from website.

lcxfs1991 avatar lcxfs1991 commented on July 19, 2024

@devongovett please check
#42

from website.

brandon93s avatar brandon93s commented on July 19, 2024

Closing, as we've successful established a pattern for i18n docs and the community has delivered numerous languages! As mentioned above - a management platform, such as Crowdin, would be beneficial at some point.

from website.

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.