Giter Site home page Giter Site logo

Comments (4)

zeratax avatar zeratax commented on June 14, 2024

Hey,

we sadly don't yet have any contribution guidelines or other policies really.
Currently we don't use any external tools so you have to work directly with github, but generally there are 3 files you should look at:

the easiest way to test is probably to try to set up github pages for your fork.
you can of course also clone/download it but you need a simple http server for the lang selection to work properly. something like python -m http.server would work.

If you never worked with git/github it's probably a good idea to look into that a little bit, but using the webinterface should be fairly straightforward.

Generally you have edit e.g. i18n.js and have something like this:

const languages = [
{
"name": "english",
"code": "en"
},
{
"name": "deutsch",
"code": "de"
},
{
"name": "한국어",
"code": "ko"
},
{
"name": "ру́сский",
"code": "ru"
},
{
"name": "简体中文",
"code": "cn"
}
]

So now you would edit this to look like this:

const languages = [ 
     { 
         "name": "english", 
         "code": "en" 
     }, 
     { 
         "name": "deutsch", 
         "code": "de" 
     }, 
     { 
         "name": "한국어", 
         "code": "ko" 
     }, 
     { 
         "name": "ру́сский", 
         "code": "ru" 
     }, 
     { 
         "name": "简体中文", 
         "code": "cn" 
     },
     {
         "name": "spanish",
         "code": "es"
     }
 ] 

most important here are the , that separate the values.

When you finished your translation you will have to create a pull request, there should be a button for that on your fork https://github.com/ChessmasterHex/leftvalues.github.io here already.

Hope that helps!

from leftvalues.github.io.

eltoliveira avatar eltoliveira commented on June 14, 2024

Oh, yesh! Thank You for your help!

I am reading/studing the code and thinking what can I do!

Again, ty!

e

from leftvalues.github.io.

zeratax avatar zeratax commented on June 14, 2024

@Chessmasterhex we now have a website that should make this process a lot more straightforward: https://l10n.dmnd.sh/projects/leftvalues/leftvalues/

from leftvalues.github.io.

eltoliveira avatar eltoliveira commented on June 14, 2024

@Chessmasterhex we now have a website that should make this process a lot more straightforward: https://l10n.dmnd.sh/projects/leftvalues/leftvalues/

Tank You! I have used that tool an d like it a lot! Easy Busy! The translations that i kwbow almost over :)

from leftvalues.github.io.

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.