UNPKG

react-gettext

Version:

Gettext implementation for React based project.

48 lines (27 loc) 1.23 kB
# Changelog ## v1.0.2 (2020-10-18) - Updated dependencies to the latest versions. ## v1.0.1 (2019-11-21) - Fixed babel-preset-env browser targets. - Updated dependencies to the latest versions. ## v1.0.0 (2019-07-15) - Implemented TextdomainContext context that adheres the current version of Context APIs. - Reworked Poedit example project to use new API. ## v0.4.0 (2017-08-17) **Implemented enhancements:** - Implemented ability to get wrapped component. ## v0.3.3 (2017-08-12) **Implemented enhancements:** - Updated dev dependencies to use latest versions. - Updated hoist-non-react-statics peer dependency to support version 2+. ## v0.3.2 (2017-08-04) **Implemented enhancements:** - Added a sample application which shows how to use Poedit and React/React-Router conjunction to make translatable applications. - Added ability to import Textdomain component directly. ## v0.3.1 (2017-06-28) **Fixed issues:** - Fixed warning which happened when children prop was a node. ## v0.3.0 (2017-06-26) **Implemented enhancements:** - Added nxgettext function which allows to translate plural strings with context. - Extracted HOC into a separate component and updated it to inherit from that standalone component.