Git Product home page Git Product logo

Comments (9)

Treeki avatar Treeki commented on June 23, 2024 3

Slightly late, but I’m experimenting with POEditor instead and I’m now doing the work to integrate the translations from #1, #3, #4 and #7.

The project can be found here: https://poeditor.com/join/project/CerldM8Yc9

I’ve imported all the strings from those pull requests and am now working on getting all of these integrated into the project itself — should be straightforward, with the possible exception of pluralisation rules which may require tweaks as per the Vue-i18n documentation: https://kazupon.github.io/vue-i18n/guide/pluralization.html#pluralization

from meteonook.

Swpolo avatar Swpolo commented on June 23, 2024 2

I would prefer to work on single language files.

Google sheet isn't made for this kind of usage.
Long text will introduce long column, you could hide them, but if you use word wrap, you will then have tall cell,
You will have to manage permissions on the document,
Comments are nice, but so are pull requests since others can comment on them, and we already saw that it was working well (thanks again, TheVaan),
Version control will be horrible on the document. If you update the language file, and 15 commits later, you realize that one translation is bad, you will have to find the correct commit where the translation was correct, then apply it to the file. (or ask the community to redo the translation, assuming the translator is still available)

On the other hand, google sheet will allows no tech-savvy people to participate, no IDE, no special knowledge required.

For your other questions:

  • The app should fallback on default language, I believe that's what most i18n libraries do, same for android engine, so I don't think you'll have issues with that
  • Yes, keep the changelog, but maybe not on the main page. Only last major update.

from meteonook.

Treeki avatar Treeki commented on June 23, 2024 1

Thanks for the feedback ^^

Transifex looks like it could be a good option. Annoyingly, it seems there's no direct mapping between any of the file formats it supports and the format used by vue-i18n, the library I'm using: http://kazupon.github.io/vue-i18n/guide/messages.html#structure

That's not insurmountable though as I can quite easily write code to convert between them.

I'll give it a shot this weekend and see how things go, as it would be good to be able to incorporate all of these!

from meteonook.

IceLitty avatar IceLitty commented on June 23, 2024

I think continue to use Google Doc is a pretty good idea, others can edit languages without interacting with Github, and only you or use automatic programs to sync the changes.
But something need check twice:

  • If a string is lost in this translation, must use default language like English to display over it. This can be not worried about changelogs. Hmmm, its also can solve problems when new text missing in some language.

from meteonook.

TheVaan avatar TheVaan commented on June 23, 2024

What about a service like POEditor? I don’t know if it works with a json file that includes all languages, but it would automatically gives you the English string for untranslated strings.

Otherwise I think going with the Google Sheet is a good choice for the beginning.

from meteonook.

IceLitty avatar IceLitty commented on June 23, 2024

Use a web app to manage translate is the best idea. Example the .po file is: (Each sentence)

key
English
Target lang

You may need another function to read .po file, but he told they can handle .json file.
Of course, I have never used POEditor service, think we can try it?


Based on price may use Weblate is another choice.

from meteonook.

TheVaan avatar TheVaan commented on June 23, 2024

I missed out commenting on your questions:

As @Swpolo mentioned I would recommend that untranslated strings will displayed on English. It's up to the community (or at least the "language maintainer") to update it sometime.

In my German localization I skipped translating the change log. It's nice to have it translated, but it's not that important. Most of the users that are interested in change logs are tech orientated users that understand at least enough to understand what has changed. I would move change log to an additional tab and set localization priority for this tab to "low".

from meteonook.

demosdemon avatar demosdemon commented on June 23, 2024

Transifex has a free license for oss. Their interface is pretty nice for translators and allows devs to just upload and download .po-like files for many i18n libraries.

from meteonook.

TheVaan avatar TheVaan commented on June 23, 2024

Thank you! I registered and subscribed to your project.

from meteonook.

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.