Comments (4)
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.
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.
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.
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)
- i18next.amd.withJQuery missing in 18next 3.x.x HOT 1
- Load i18next on framework7 ajax loaded pages HOT 8
- Unable to use JQuery 3.1.1 together with jQuery-18next. HOT 2
- jqueryI18next.init is not a function(…) HOT 4
- Uncaught TypeError: Cannot set property 't' of undefined HOT 8
- Upgrading from i18next.amd.withJQuery - TypeError in init HOT 4
- I can't load json files HOT 1
- How can Key Fallback option be used for translations HOT 3
- localize not defined when .use(i18nextBrowserLanguageDetector) is called HOT 5
- Spaces in data-i18n value for multiple parameters HOT 2
- When there is no default value when binding to an attribute it inserts the key instead of blank HOT 4
- i18next with razor engine HOT 13
- data-i18n not taken into consideration? HOT 2
- Not working for nested boostrap navs HOT 3
- complex replacement i18n vs i18next HOT 2
- How can I use HTML tags? HOT 2
- i18nextHttpBackend looking 'locales' folder under main directory of the server rather than working directory HOT 4
- Replace HTML tags tokens from translation HOT 9
- $.t is not a function with slow networks HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-i18next.