Giter VIP home page Giter VIP logo

Comments (4)

jehon avatar jehon commented on June 16, 2024 1

Ok, I understand.

Thanks for all the opportunities.

I will probably look to the parser for my specific point.

I am closing my question as it is not exactly in this scope.

Have a nice day

from jquery-i18next.

jamuhl avatar jamuhl commented on June 16, 2024

Sorry what you mean by: But how to use it when parsing the html/javascript files to build up the base translations files?

from jquery-i18next.

jehon avatar jehon commented on June 16, 2024

Hello,

Thanks for that quick reply.

I use "i18next-parser" to extract the strings to be translated into the "json" file. It took all my html and json, look for data-i18n attributes and _t() functions, and generate the json file.

Does this project use a similar generator to generate the json files, or does this project only manage the process after that generator?
If it does generate the json files, does it have that options in that phase?

Thanks

from jquery-i18next.

jamuhl avatar jamuhl commented on June 16, 2024

ok...now i understand. Parsing defaults here can be used in combination with the saveMissing feature of i18next which sends all keys not found via xhr (or similar, depending on your backend plugin) to your backend where you then can create a json file (eg. that is built in when using the i18next with node.js express or using http://locize.com localization service).

If you're using already i18next parser you can turn on this option as a fallback for the case when translation could not been loaded.

from jquery-i18next.

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.