react-intl-translations-manager | translations based on the extracted messages | Translation library
kandi X-RAY | react-intl-translations-manager Summary
kandi X-RAY | react-intl-translations-manager Summary
Manage all translations based on the extracted messages of the babel-plugin-react-intl
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of react-intl-translations-manager
react-intl-translations-manager Key Features
react-intl-translations-manager Examples and Code Snippets
Community Discussions
Trending Discussions on react-intl-translations-manager
QUESTION
I receive this message when running npm install
:
npm WARN deprecated nomnom@1.6.2: Package no longer supported. Contact support@npmjs.com for more info.
npm WARN deprecated babel-preset-es2015@6.24.1: Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
[ ..] | extract:rxjs: verb gentlyRm don't care about contents; nuking C:\Users\oscar\Documents\project
After this npm hangs. Tried on two computers and the same thing happens Worked last week and we have not changed anything in package.json
since then.
Using NPM 3.10.10 on Windows 10.
This is our package.json
:
ANSWER
Answered 2018-May-07 at 13:19Solved by uninstalling Node.js 6.11.4 LTS
and installed Node.js 8.11.1 LTS
with NPM 5.6.0
.
QUESTION
I use React-Intl in my app and it works great, but to be easier to manage new keys to translate I started using "react-intl-translations-manager".
My problem is that some of my translations are used through a notification system and the babel extractor don't recognize them because it's outside of his scan scope.
So when I run "react-intl-translations-manager" it deletes all the keys relatives to notifications and other non-scanned translations.
Here is my question: is there any method to "say" to "react-intl-translations-manager" that it's forbidden to delete those keys ?
I tried multiple solutions including whitelists and other but nothing is working.
Here is my translationRunner.js (the configuration file)
...ANSWER
Answered 2019-Jul-24 at 20:11There are two ways to do this. One is to use hooks and another way is to override the module where deletion of the actual code happens.
To do the same we can override the getLanguageReport
module from react-intl-translations-manager/dist/getLanguageReport
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install react-intl-translations-manager
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page