GithubHelp home page GithubHelp logo

Comments (5)

matthojo avatar matthojo commented on May 2, 2024

Personally I think the i18n should be JSON, keep the database cleaner.

It may also improve the development learning curve for themes / plugins as there will already be an example working JSON file.

from ghost.

cgiffard avatar cgiffard commented on May 2, 2024

My vote is to keep it JSON. Then if you want to internationalise your module, you just create an i18n.fr.json and leave it in your module directory (alternately, mymodule.i18n.de.json, perhaps).

Then you uninstall your module and the localisation is gone. No cruft left in the DB.

But I also think that the i18n module should do a recursive search of localisations with a given key, enabling module developers to more easily localise their modules using terms that already exist in the system and have translations available.

from ghost.

hugomano avatar hugomano commented on May 2, 2024

+1 for JSON as a module/plugin. For edit our translations it's more simple.

from ghost.

twinsant avatar twinsant commented on May 2, 2024

+1 for JSON

from ghost.

ErisDS avatar ErisDS commented on May 2, 2024

Closing in favour of #3801. The original plan we had for how to do this is defunct now and needs a new approach.

from ghost.

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.