kaisermann / Svelte I18n
Licence: mit
Internationalization library for Svelte
Stars: ✭ 433
Programming Languages
typescript
32286 projects
Projects that are alternatives of or similar to Svelte I18n
Weblate
Web based localization tool with tight version control integration.
Stars: ✭ 2,719 (+527.94%)
Mutual labels: hacktoberfest, i18n, internationalization
Vue I18n Extract
Manage vue-i18n localization with static analysis
Stars: ✭ 123 (-71.59%)
Mutual labels: hacktoberfest, i18n, internationalization
Eo Locale
🌏Internationalize js apps 👔Elegant lightweight library based on Internationalization API
Stars: ✭ 290 (-33.03%)
Mutual labels: hacktoberfest, i18n, internationalization
i18n-unused
The static analyze tool for finding, marking and removing unused and missing i18n translations in your JavaScript project
Stars: ✭ 76 (-82.45%)
Mutual labels: i18n, internationalization, svelte
labels
Bolt Labels extension - Translatable labels for Bolt
Stars: ✭ 18 (-95.84%)
Mutual labels: i18n, internationalization
i18n
Package i18n is for app Internationalization and Localization.
Stars: ✭ 79 (-81.76%)
Mutual labels: i18n, internationalization
Babel Plugin React Intl
Extracts string messages from React components that use React Intl.
Stars: ✭ 430 (-0.69%)
Mutual labels: i18n, internationalization
Js Lingui
🌍📖 A readable, automated, and optimized (5 kb) internationalization for JavaScript
Stars: ✭ 3,249 (+650.35%)
Mutual labels: i18n, internationalization
rosetta
A blazing fast internationalization (i18n) library for Crystal with compile-time key lookup.
Stars: ✭ 23 (-94.69%)
Mutual labels: i18n, internationalization
I18n Editor
GUI for editing your i18n translation files
Stars: ✭ 290 (-33.03%)
Mutual labels: i18n, internationalization
python-fluent
Python implementation of Project Fluent
Stars: ✭ 142 (-67.21%)
Mutual labels: i18n, internationalization
crates
🌎 A tool to generate your locale files compatible with i18n.
Stars: ✭ 52 (-87.99%)
Mutual labels: i18n, internationalization
Mojito
An automation platform that enables continuous localization.
Stars: ✭ 256 (-40.88%)
Mutual labels: i18n, internationalization
plate
Internationalization library for Python
Stars: ✭ 31 (-92.84%)
Mutual labels: i18n, internationalization
Fbt
A JavaScript Internationalization Framework
Stars: ✭ 3,668 (+747.11%)
Mutual labels: i18n, internationalization
Spree i18n
I18n translation files for Spree Commerce.
Stars: ✭ 338 (-21.94%)
Mutual labels: i18n, internationalization
React Localize Redux
Dead simple localization for your React components
Stars: ✭ 384 (-11.32%)
Mutual labels: i18n, internationalization
Easy localization
Easy and Fast internationalizing your Flutter Apps
Stars: ✭ 407 (-6%)
Mutual labels: i18n, internationalization
jekyll-skeleton
Scaffolding to start with a Jekyll website
Stars: ✭ 27 (-93.76%)
Mutual labels: i18n, internationalization
svelte-i18n
Internationalization for Svelte.
svelte-i18n
helps you localize your app using the reactive tools Svelte provides. By using stores to keep track of the current locale
, dictionary
of messages and to format
messages, we keep everything neat, in sync and easy to use on your svelte files.
Requirements
- Node:
>= 11.15.0
- Browsers:
Chrome 38+
,Edge 16+
,Firefox 13+
,Opera 25+
,Safari 8+
.
<script>
import { _ } from 'svelte-i18n'
</script>
<h1>{$_('page.home.title')}</h1>
<nav>
<a>{$_('page.home.nav', { default: 'Home' })}</a>
<a>{$_('page.about.nav', { default: 'About' })}</a>
<a>{$_('page.contact.nav', { default: 'Contact' })}</a>
</nav>
// en.json
{
"page": {
"home": {
"title": "Homepage",
"nav": "Home"
},
"about": {
"title": "About",
"nav": "About"
},
"contact": {
"title": "Contact",
"nav": "Contact Us"
}
}
}
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].