Coder Social home page Coder Social logo

Comments (3)

Wuzzy2 avatar Wuzzy2 commented on May 18, 2024 3

I love your pessimism, because it's justified.

OK, now for the facts:

Pros:

  • Part of the Lua API, no more dependency hell!
  • Part of the engine, therefore by default available for all players
  • Unlike intllib, does not force a single language on all users, making it work properly on servers

Contras:

  • There's real no toolchain for basic tasks like “updating strings”. We would have to write one ourselves. There are some unfinished scripts flying around somewhere, I would have to dig them out first …
  • Uses its own weird translation file format instead of Gettext PO files (OF COURSE!)
  • Because of weird translation file format, we can forget uploading to Weblate. You didn't use it so far anyway, but still!
  • Does not support numerus, unlike PO (irrelevant for craftguide)
  • The core devs did not adopt it in MTG after 1.5 years of its introduction. But screw MTG, am I right?

My recommendation:
Adopt engine translator, despite its flaws. The fact that it can be used properly on servers is still a major improvement over intllib. Devs agree that it sucks its not PO.

from craftguide.

Ekdohibs avatar Ekdohibs commented on May 18, 2024

I'll just add that making the engine support po files is planned - but I don't know yet when I will have the time and energy to implement it.

from craftguide.

kilbith avatar kilbith commented on May 18, 2024

Bye-bye intllib. The translation files need to be renewed though.

from craftguide.

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.