Comments (2)
not sure if i like to add an recursive lookup. might add this as an option - but not yet to sure.
personally i prefer adding the namespace like this:
<div>
<span>{{t "title"}}</span>
<span>{{t "first"}}</span>
<span>{{t "name:second"}}</span>
<span>{{t "name:last"}}</span>
</div>
from i18next.
starting from v1.5.11 (release should be this week) you could set option fallbackToDefaultNS = true in init options to turn on this behaviour. (default is false)
from i18next.
Related Issues (20)
- Typechecking performance regression in 23.7.12 with typescript v4 types HOT 9
- Events no longer firing when changing language to cimode HOT 8
- The `keyPrefix` options is not resolved correctly as of 23.7.14 HOT 8
- Clarify formatting usage HOT 1
- Unable to use import statement - only require works HOT 5
- Variables Interpolation not working properly when testing with Jest HOT 1
- Join an array with "," and "and" HOT 1
- Global t does not handle arrays as defaultNS well HOT 3
- i18n_t does not support choice format well HOT 5
- Deault values in t function do not work HOT 10
- Array Interpolation HOT 19
- i18next.getResource() does not return all plurials variants HOT 2
- Suspected memory leak HOT 1
- Alphabetical ordering of keys that can contain each other breaks i18next HOT 3
- Add Documentation for default translation file load HOT 7
- 使用方法addResources动态添加数据格式错误,Using method addResources to dynamically add data format error HOT 6
- Typescript performance regression HOT 11
- Add 'isInitializing' property so we're able to detect init() was already called. HOT 4
- Ideas: improve CI HOT 2
- changeLanguage update i18n.language even if http-backend fails to load translations? HOT 1
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 i18next.