{"repo":"seek-oss/vocab","free":true,"listed":false,"github":"https://github.com/seek-oss/vocab","clone":"git clone https://github.com/seek-oss/vocab.git","description":"Vocab is a strongly typed internationalization framework for React","language":"TypeScript","stars":132,"topics":["language","translation","react","webpack","internationalization","typescript","i18n","owner-experience-platforms"],"license":"MIT","category":"ui-components","readme_excerpt":"Vocab Vocab is a strongly typed internationalization framework for React. Vocab helps you ship multiple languages without compromising the reliability of your site or slowing down delivery. - Shareable translations \\ Translations are co-located with the components that use them. Vocab uses the module graph allowing shared components to be installed with package managers like npm, just like any other module. - Loading translations dynamically \\ Vocab only loads the current user's language. If the language changes Vocab can load the new language behind the scenes without reloading the page. - Strongly typed with TypeScript \\ When using translations TypeScript will ensure code only accesses valid translations and translations are passed all required dynamic values. Table of contents - Getting started - Step 1: Install Dependencies - Step 2: Configure Vocab - Step 3: Set the language using the React Provider - Step 4: Create translations - Step 5: Compile and consume translations - [Step 6: [Optional] Set up plugin](#step-6-optional-set-up-plugin) - [Step 7: [Optional] Optimize for fast page loading](#step-7-optional-optimize-for-fast-page-loading) Getting started Step 1: Install Dependencies Vocab is a monorepo containing different packages you can install depending on your usage. The below list will get you started using the CLI and React integration. Step 2: Configure Vocab You can configure Vocab directly when calling the API, or via a vocab.config.js or vocab.config.cjs file","default_branch":null,"files":null,"tree":[],"storefront":"/r/seek-oss","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/seek-oss/vocab/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}