Code Monkey home page Code Monkey logo

Comments (7)

NathanLovato avatar NathanLovato commented on May 27, 2024 1

We'll make a call for community translations once we have localization support. For now, though, there's quite a bit of work to extract all the translation strings from the app.

from learn-gdscript.

NathanLovato avatar NathanLovato commented on May 27, 2024 1

We need to translate:

  • Button labels
  • Tooltips
  • Lessons and practices
  • The welcome and end screens
  • Messages in popups
  • The code reference (documentation.csv)
  • Error explanations (error_database.csv)

Translation files should be in the gettext format so professional translators can easily work on it.

As far as translation files, for each language, I'd like to have, if possible:

  • One file for all UI translations (buttons, tooltips, help messages, popups, etc.).
  • One file per lesson, including its practices (to make it easy to translate content sequentially and ship partial translations of the course).
  • One file for error explanations.
  • One file for the code reference.

Does that sound like a reasonable number of files @pycbouh? This makes it easy for our translator to track progress and e.g. send completed lessons in batches. It also makes it easy to track e.g. only lessons that got changes between releases.

from learn-gdscript.

YuriSizov avatar YuriSizov commented on May 27, 2024 1

Localization should now be supported throughout the app. There may still be missing pieces of the UI, or properties that we don't extract, so please open bugs if you run into something. There are a couple of peculiarities and weird issues too, I've made sure to comment on those in code.

I've also added a doc on working with translations here: https://github.com/GDQuest/learn-gdscript/blob/main/i18n/working-with-translations.md

from learn-gdscript.

brean avatar brean commented on May 27, 2024

I would highly appreciate/like to help with (German) translations.
I am teaching Game Development with Godot in Hackathons (with the Code+Design organization) to school children in Germany. This would help a lot for basic understanding before or after the Hackathon so the students could teach themselves and learn more than just importing graphics and changing templates.

from learn-gdscript.

NathanLovato avatar NathanLovato commented on May 27, 2024

@pycbouh thanks for your work on this.

I just tested the .pot files, there's one detail to change: the output files have \r\n for line returns, but the translation program warns that we shouldn't have \r for internationalization, only \n.

from learn-gdscript.

YuriSizov avatar YuriSizov commented on May 27, 2024

I just tested the .pot files, there's one detail to change: the output files have \r\n for line returns, but the translation program warns that we shouldn't have \r for internationalization, only \n.

That's not something that we explicitly control, but I'll see what we can do.

from learn-gdscript.

YuriSizov avatar YuriSizov commented on May 27, 2024

Okay, just replacing it while extracting seems to solve the issue, so I'll leave it at that.

from learn-gdscript.

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.