Is it possible to translate a library in an app?

This page summarizes the projects mentioned and recommended in the original post on /r/reactnative

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • patch-package

    Fix broken node modules instantly 🏃🏽‍♀️💨

  • Try https://www.npmjs.com/package/patch-package

  • react-native-localize

    🌍 A toolbox for your React Native app localization

  • Translation isn't really a react native specific issue, the web/react also needs to be able to support this. You shouldn't need anything fancy to translate, but strings would need to be localized via https://github.com/zoontek/react-native-localize or https://github.com/globalizejs/globalize. With regards to translating the library, you can either use https://github.com/ds300/patch-package to localize all the strings for your own use or submit a PR to the library. I am also assuming that you have no flexibility on what text is being displayed when using the libraries' API (ex: headerTitle in react-navigation) because in that case it is related to translating your own app.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts