Repository navigation
Can Node.js add API of I18n? #2753
Copy link
Copy link
Closed
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.i18n-apiIssues and PRs related to Node.js internationalization support.Issues and PRs related to Node.js internationalization support.
Description
Activity
- addedi18n-apiIssues and PRs related to Node.js internationalization support.Issues and PRs related to Node.js internationalization support.
on Sep 9, 2015 You can build with full
full-icuto get access to all Internationalizations APIs in JS.I think it's planned to default to this eventually for release builds, but the concern so far was the increased binary size.
Thanks, silverwind. But the APIs cannot translate strings into locales. Any idea about l10n in node?
Maybe @srl295 can help there. Does https://github.com/mashpie/i18n-node help?
Yes, there are many modules do this.
But the issue is, I have tons of translations and cannot cache all of them in memory.
I'm just looking for an efficient way to do this.- Yes there isn't a turnkey solution right now, the idea is to use a loading mechanism to not need to read everything in at once.
- addedquestionIssues asking questions about Node.js.Issues asking questions about Node.js.
on Sep 22, 2015 - addedfeature requestIssues requesting new Node.js features.Issues requesting new Node.js features.and removedquestionIssues asking questions about Node.js.Issues asking questions about Node.js.
on Sep 27, 2015 see #3413
@srl295 Are there any concrete actions we can take? If not, I would suggest closing this for now.
Closing. Can reopen if necessary
Metadata
Metadata
Assignees
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.i18n-apiIssues and PRs related to Node.js internationalization support.Issues and PRs related to Node.js internationalization support.
I build native addons of gettext but it read file everytime called. The javascript version isn't well-performed in cache when I want to translate into multiple languages according users' locales. Some language files are so large to cache in memory.