Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dao-dao/i18n

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dao-dao/i18n

[Internationalization](https://www.w3.org/standards/webdesign/i18n) (i.e. translation) system for the DAO DAO UI.

  • 2.5.0-rc.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
22
increased by266.67%
Maintainers
0
Weekly downloads
 
Created
Source

@dao-dao/i18n

Internationalization (i.e. translation) system for the DAO DAO UI.

Contributing a translation

See ./locales/en/translation.json. Make a folder with your language's (ISO 639-1)[https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes] code and place your translation there. When you're done, make sure to add your language's code to the config.i18n.locales array in the ./next-i18next.config.js file.

Translation notes

Keep it precise and pithy, in that order; people's businesses depend on understanding what this software does. Within those constraints, keep it as casual and informal as possible.

Comparing diffs

To compare two translation files to see what keys have been added, removed, and modified, run yarn get-diff <locale1.json> <locale2.json>. For example, to see what is missing from the Spanish translation that exists in the English translation, run the following command from this folder:

yarn get-diff locales/es/translation.json locales/en/translation.json

When comparing two different languages, the added and removed keys will be helpful in figuring out what needs to change, and the modified keys will be helpful in comparing the translations' accuracies.

When comparing two versions of the same language, the added and removed keys will be helpful in figuring out what needs to be translated, and the modified keys will be helpful in figuring out what needs to be updated.

FAQs

Package last updated on 13 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc