Coder Social home page Coder Social logo

Multi-lingual Support? about cfdocs HOT 6 CLOSED

foundeo avatar foundeo commented on June 16, 2024
Multi-lingual Support?

from cfdocs.

Comments (6)

pfreitag avatar pfreitag commented on June 16, 2024

There is nothing other then the seperation into an en directory. Multilingual support could certainly be added but it would take a really dedicated translator to get that going. I did contact team cf advance about adding CF11 docs and they have helped a bit there.

from cfdocs.

CreativeNotice avatar CreativeNotice commented on June 16, 2024

I may play with that on a fork.
Could you briefly describe the hurdles you foresee?

from cfdocs.

pfreitag avatar pfreitag commented on June 16, 2024

Awesome, that would be cool!

I don't think it would be terribly complicated, the main thing you would need to do is edit the files in /views to provide a way to show localized strings, instead of just hard coded english. There is not too much translation needed there.

I would probably setup subdomains for each language, eg: es.cfdocs.org I think we should use the ISO-639-1 language codes: http://en.wikipedia.org/wiki/ISO_639-1 I don't think getting into dialects (eg en-US, en-GB, en-CA) would be necessary.

The big part of the job is creating all the json files, we need to figure out what to do if a doc is there in one language but not another, 302 redirect, or show the english doc using the language's localized view?

from cfdocs.

CreativeNotice avatar CreativeNotice commented on June 16, 2024

If a doc didn't exist in the user's selected language, we could load the en version with an extra call to action "Help translate this page!" banner. It could link to a github wiki page with details on how to help translate.

from cfdocs.

pfreitag avatar pfreitag commented on June 16, 2024

Good idea.

from cfdocs.

pfreitag avatar pfreitag commented on June 16, 2024

Going to close this, as there hasn't been much interest in multi-lingual support.

from cfdocs.

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.