react-intl.macro icon indicating copy to clipboard operation
react-intl.macro copied to clipboard

Extract react-intl messages with babel-plugin-macros.

Results 25 react-intl.macro issues
Sort by recently updated
recently updated
newest added
trafficstars

We're currently moving to react-intl.macro from react-intl-cra and running into an issue with our FormattedMessage components. Previously, we imported defineMessages and FormattedMessage from 'react-intl'. Doing this, we were able to...

This error occurs every time we extract translation. `There was an error trying to load the config "react-intl" for the macro imported from "react-intl.macro. Please see the error thrown for...

Hi, I am trying to figure out how to use your macro and preval so that we can generate dynamic translation keys. By chance, do you know why the following...

**OS**: MacOS Mojave 10.14.3 The outputted messages json files doesn't seem to be formatted correctly. This is from someone who migrated from `react-intl-cra` ![Screenshot 2019-03-15 at 10 59 00 AM](https://user-images.githubusercontent.com/2200902/54405514-cebcb300-4711-11e9-81da-f299f3978d25.png)

Coming from `react-intl-cra`, I was surprised that the translations are now stored in hierarchial files rather than the single file that I am used to. Adding this information in the...