Coder Social home page Coder Social logo

derzunov / redux-react-i18n Goto Github PK

View Code? Open in Web Editor NEW
64.0 2.0 6.0 1.76 MB

An i18n solution for React/Redux and React Native projects

Home Page: https://derzunov.github.io/redux-react-i18n/

License: MIT License

JavaScript 99.92% HTML 0.08%
redux react countries internationalization localization polish pluralizer french english german

redux-react-i18n's Introduction

redux-react-i18n's People

Contributors

dependabot[bot] avatar derzunov avatar vkalinichev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

redux-react-i18n's Issues

setLanguages( languageCode ) wrong signature

  • README
  • CODE ( languageCode must be smth like languagesCodesCollection )
    store.dispatch( i18nActions.setLanguages( [ { code: 'ru-RU', name: 'Русский' }, { code: 'en-US', name: 'English (USA)' }, { code: 'pl', name: 'Polish' }, { code: 'fr', name: 'French' }, { code: 'be', name: 'Белорусский' } ] ) );

Why should not use React.Fragment?

Здравствуйте,
I suggest to use React.Fragment instead wrapping text with <span>. As you said - span is not best way to add text. Since React got this method, it is more useful. Of course, for compatibility with previous versions, you can add check for React version, or Fragment availability, and fallback to <span>. What do you think? And if you don't have time I could make it, it won't take much time.

And some flood - thank you guys for your efforts =)

Incompatible with yarn

When I'm trying to add this package using yarn I have the following:

yarn add redux-react-i18n
yarn add v1.6.0
(node:18827) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[1/4] 🔍  Resolving packages...
error Received malformed response from registry for undefined. The registry may be down.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Upgrading up to babel 7.x.x

Hi, Dmitry!
Upgrade please your package up to babel 7.x.x. In project which I am working for now is used babel 7 ( and there isn't babel-runtime package as dependency ), so obviously it fails with building.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.