Giter Club home page Giter Club logo

Comments (9)

c-sanchez avatar c-sanchez commented on August 23, 2024 1

Hi @ErLinErYi, your game is really great, very well done.
Now about translation, I would like translate the game in Spanish, however for now I'm not sure if start translating the language.json file because to be honest I found this a bit weird.
Please make the main Language as English, this make the things easier for translation, and for now the jsong files have:

"language": ["中文", "english"],

Here the first language section is Chinese, so to start translate (generally speaking) we need down up to English language section.
Then, in the English section we have also this
["String Base (in Chinese)", "String Translation", 0, 0, 0, 0],

This makes things a bit complicated for those who want to translate the game, since English is usually the base language for translations.

And if I'm not mistaken, certain parts of the game still can't be translated, like the main menu buttons.

Best regards, and thank you so much by make this great work again :)

from plantsvszombies.

c-sanchez avatar c-sanchez commented on August 23, 2024 1

@ErLinErYi Well I think it's better keep the english languague as base, but I guess is ok anyway.
I am going to translate the game in Spanish but can you keep these files updated?
I mean, if with any update something is changed, added or removed, do you have any system to automatically add it to the translations?

By example in programs many times is used the GNU Gettext format (PO / POT files)
https://www.drupal.org/community/contributor-guide/reference-information/localize-drupal-org/working-with-offline/po-and#:~:text=pot%20(portable%20object%20template)%20extensions,translations%20to%20a%20particular%20language.
That facilitates the task of updating all new strings.

Just a curiosity on my part.

Btw I just saw the notification of a new update for the game, but when I try to update (with "Download" or "Downloader") the game closes automatically (crashes).

I guess I'd better wait for you to upload the update in a compressed file.
Regards.

from plantsvszombies.

nagayev avatar nagayev commented on August 23, 2024

I remember you promise push update with JSON language file, but I can't see it.

from plantsvszombies.

ErLinErYi avatar ErLinErYi commented on August 23, 2024

from plantsvszombies.

nagayev avatar nagayev commented on August 23, 2024

@ErLinErYi
Okey. Could you split changes to commits, please?
Your last commit is incredibly large.

from plantsvszombies.

nagayev avatar nagayev commented on August 23, 2024

@c-sanchez Hello. Where can I find language.json file?
is it already in master?

from plantsvszombies.

ErLinErYi avatar ErLinErYi commented on August 23, 2024

from plantsvszombies.

ErLinErYi avatar ErLinErYi commented on August 23, 2024

from plantsvszombies.

nagayev avatar nagayev commented on August 23, 2024

@ErLinErYi Thanks

from plantsvszombies.

Related Issues (19)

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.