GithubHelp home page GithubHelp logo

Adding a language about epsilon HOT 19 CLOSED

numworks avatar numworks commented on May 27, 2024
Adding a language

from epsilon.

Comments (19)

Quent-in avatar Quent-in commented on May 27, 2024

Any news @artaxxx so we can start?

from epsilon.

artaxxx avatar artaxxx commented on May 27, 2024

For now, it's not that easy to add languages @Quent-in. Actually we want to allow the user to select his own features and languages when he updates his calculator. You can read the comments on issues #33 and #84. We have to find a way to add multiple languages in the code without embedding all of them in the device.

from epsilon.

boricj avatar boricj commented on May 27, 2024

There is also the need for decentralizing the translations for out-of-tree third-party apps, which is something that #73 does (crudely). However, it does not untangle the translations from each other.

from epsilon.

Quent-in avatar Quent-in commented on May 27, 2024

Why wouldn't you embed all the languages available? It's just some kb per language.
@boricj is right! That's an impressive PR you made!

from epsilon.

adriweb avatar adriweb commented on May 27, 2024

Well, because when it's properly split ("untangled"), it's much easier to manage and embed on-the-fly, and a free space gain since users will mostly need 1 language anyway :)

from epsilon.

Quent-in avatar Quent-in commented on May 27, 2024

I agree, but all the languages have to be availables by default.
And of course, having a file per language, is the best way to internationalize this product :)

from epsilon.

adriweb avatar adriweb commented on May 27, 2024

Heh I don't agree, I guess English+French as languages available by default would be a good start (as in, would cover the most marketing cases today I suppose)
However, on the first startup, there could be some special splash screen, written in many languages, saying that the user can download an (updated) OS with his language.

from epsilon.

Ecco avatar Ecco commented on May 27, 2024

This is fixed by #174

from epsilon.

JeanGauthier avatar JeanGauthier commented on May 27, 2024

Hello @Ecco could you provide the list of files that have to be translated and changed to add a new language?
Best regards
Jean-Gauthier from Tolosa for the Occitan language

from epsilon.

debrouxl avatar debrouxl commented on May 27, 2024

You need to modify apps/Makefile, apps/*/Makefile, apps/*.i18n and apps/*/*.i18n . See the recent commit which eased the creation of new translations and the selection of translations at compile time:
e6ed6c7

from epsilon.

JeanGauthier avatar JeanGauthier commented on May 27, 2024

Alright, if we can translate this next week, will it be merged?
Or do we need to wait for something?

from epsilon.

JeanGauthier avatar JeanGauthier commented on May 27, 2024

I'm thinking about the possibility to put letter such as È É Ò etc

from epsilon.

Ecco avatar Ecco commented on May 27, 2024

You should be able to start working on that translation today :-) Regarding letters such as É È etc, you can include them in your translation files already (UTF-8 encoded). Those won't appear in the final build just yet because there's currently no support for accented characters. But when they will, at least your files will be ready :-)

from epsilon.

JeanGauthier avatar JeanGauthier commented on May 27, 2024

Do you mean a word like "sequéncia" will be changed to "sequencia" automatically?

from epsilon.

Ecco avatar Ecco commented on May 27, 2024

Yes. Just write "sequéncia" in the .i18n file, and for now it'll display as "sequencia". And if/when Epsilon supports an extended charset (e.g. accented characters), you won't need to modify your .i18n :-)

from epsilon.

JeanGauthier avatar JeanGauthier commented on May 27, 2024

Here's my PR: #190
Many thanks for your help @Ecco !

from epsilon.

LeaNumworks avatar LeaNumworks commented on May 27, 2024

Hi all, I am closing this issue since this was solved.

from epsilon.

ensag-dev avatar ensag-dev commented on May 27, 2024

Hello @LeaNumworks !
How is this solved? Is Occitan now included in the official software?

from epsilon.

LeaNumworks avatar LeaNumworks commented on May 27, 2024

Hi @ensag-dev,

So I had read quite quickly and understood the issue was about how to translate a language, and @debrouxl gave a good answer about that:

You need to modify apps/Makefile, apps//Makefile, apps/.i18n and apps//.i18n . See the recent commit which eased the creation of new translations and the selection of translations at compile time:
e6ed6c7

About the Occitan specifically, PR #190 did provide a translation, but we won't be merging it as it requires maintenance on our part and there is not enough demand yet. You can still get the code from this PR and compile it to make your own OS, but if you want the latest epsilon version you will have some additional translating to do, as the PR is two years old.

However, on the first startup, there could be some special splash screen, written in many languages, saying that the user can download an (updated) OS with his language.

About building a custom OS to have the languages you want, the issue #84 also talks about that.

So I feel the issue can remain closed :)

from epsilon.

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.