You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like one could apply translations in react's DOM patch before it hits the real DOM. A simple set of regular expressions would take most of the translations out of the code and move it into the external translation resources. This seems more consistent with modern localization software in my experience.
Please comment... Thank you.
The text was updated successfully, but these errors were encountered:
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.
Seems like one could apply translations in react's DOM patch before it hits the real DOM. A simple set of regular expressions would take most of the translations out of the code and move it into the external translation resources. This seems more consistent with modern localization software in my experience.
Please comment... Thank you.
The text was updated successfully, but these errors were encountered: