Comments (4)
@jcalfee Sorry but I don't get it. Could you give me an example (a gist) of what you're trying to achieve?
Thanks
from react-translate-component.
Closing because of staleness.
from react-translate-component.
I'm just suggesting to not have translations in the code and instead move it to the dom rendering layer. This will save a ton of effort on the part of the coders. In react this needs to happen in a way so that reacts DOM comparison is always translating then comparing to the translated DOM. You can still put translations in the code, most of the tedious translation work will not be needed anymore.
from react-translate-component.
I apologize, I missed your first comment.
from react-translate-component.
Related Issues (20)
- Translate tag spams warnings in react 15.2.0 HOT 4
- How to translate placeholder attribute in input element HOT 3
- Expose onLocaleChange from counterpart HOT 3
- Problem in select option HOT 1
- Return translation as string HOT 11
- Missing translation could output given string HOT 10
- Can't make dynamic translation work using `with` HOT 1
- Getting a nasty error when using `fallback` HOT 1
- Question: Where to put translations? HOT 2
- Dependencies are not installed automatically? HOT 2
- React 15.5 deprecation warnings HOT 3
- Translate without <span> tag HOT 1
- Right to left text direction languages (Farsi, Arabic, Hebrew etc.) HOT 1
- cookies HOT 1
- Any plans to update peer deps?
- Escape the % Character HOT 2
- Make Language Switcher work with "counterpart.translate" HOT 1
- Translation won't work if string contains `.` HOT 2
- a default message when the translator is not defined HOT 1
- Add children to Translate 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 react-translate-component.