Code Monkey home page Code Monkey logo

Comments (9)

nahuelwexd avatar nahuelwexd commented on May 26, 2024 4

I agree that it will be quite challenging, but at the same time I think there will be quite a few who would like to be able to read the tutorials in their native language.

Maybe what should be done is to put a warning that the tutorial may not be up-to-date.

from vala-www.

nahuelwexd avatar nahuelwexd commented on May 26, 2024 1

That argument doesn't convince me. It's not like we're going to translate those tutorials, but someone else with enough time

We provide the infrastructure and that's it, then whoever wants to translate can do it. Just like it works in any other project

from vala-www.

nahuelwexd avatar nahuelwexd commented on May 26, 2024 1

Not everyone is knowledgeable enough to contribute everywhere. It is likely that those who come forward to help translate the tutorials are those who are learning from the tutorials, and during their learning they translate them.

from vala-www.

colinkiama avatar colinkiama commented on May 26, 2024

Well there is some support already. See: https://www.getzola.org/documentation/content/multilingual/

from vala-www.

lw64 avatar lw64 commented on May 26, 2024

I don't think that translating especially tutorials is a good idea. Maintaining them will become a nightmare. Everytime they get updated, they also need to be in all translations.

from vala-www.

lw64 avatar lw64 commented on May 26, 2024

The vala community is not that large that we would have the resources to write and maintain tutorials, and also the main page I think, in different languages just because it would be more comfortable for a few people. We have much higher priority tasks to do.

from vala-www.

lw64 avatar lw64 commented on May 26, 2024

Yeah. But if there is already someone spending some amount of work on vala, we should encourage them to do more important stuff.

from vala-www.

lw64 avatar lw64 commented on May 26, 2024

I agree. I would just not highlight the translation ability too much.

from vala-www.

colinkiama avatar colinkiama commented on May 26, 2024

I haven't forgot. I was figuring out the ways this can be done.n

As far as I know, we can:

  1. Creating different versions of markdown content. See: https://www.getzola.org/documentation/content/multilingual/#content
  2. Translate strings defined in config.toml with the trans filter.

Method 1 Can be used for the majority of the site and method 2 would primarily be used for the home page since, the homepage the majority of the homepage's layout and contents are defined in it's template (index.html).

Method 1 can be used right now. You're all free to translate the markdown files under /content.

Things like the home page, header and footer content need translation maps to be set up first (Method 2). Feel free to try this too if you want. I'd appreciate it!

from vala-www.

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.