Comments (2)
Actually I see that this may have been implemented in saknarat't fork already, , would be nice if it could be merged in to the core.
from counterpart.
You could use the (currently undocumented) setFallbackLocale
function to use as fallback mechanism.
This is available since v0.16.5 and was introduced in 38d575b.
from counterpart.
Related Issues (20)
- Emit Event when translation is not found HOT 3
- problem with html content that contains a "%" HOT 4
- Pluralization Issue HOT 2
- Consider switching to a regularly maintained sprintf package HOT 2
- how to handle simple formatting like bold or italic HOT 2
- Cannot use Link of 'react-router' as component HOT 5
- variables doesn't work HOT 2
- Issue when using interpolation with numbers HOT 2
- Name of the option to select a specific pluralization HOT 2
- Locales are inheritance HOT 1
- Translation of a text with a % character causes "SyntaxError: [sprintf] unexpected placeholder" HOT 4
- Fallback does not work with string '0' HOT 1
- split confusion HOT 1
- Why is translationnotfound fired only when fallback is provided? HOT 2
- Passing react dom element to a placeholder HOT 2
- Feature request: Multiple counts HOT 1
- onError callback not getting called when interpolation error occurs HOT 4
- Bad iteration if language fallback fails
- Add support for more plural forms HOT 2
- Missing translation:
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 counterpart.