laravel-translations-loader
eslint-plugin-i18n-json
laravel-translations-loader | eslint-plugin-i18n-json | |
---|---|---|
1 | 2 | |
189 | 172 | |
0.0% | 0.0% | |
0.0 | 0.0 | |
over 1 year ago | about 1 year ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
laravel-translations-loader
-
How can I use Laravel Translation inside JS?
Until now, I used this package until now, but I want to switch to vite, and the package does not support it and returns this error:
eslint-plugin-i18n-json
-
Typed translations in Angular
The situation is partly saved by the eslint plugin eslint-plugin-i18n-json, which checks the identity of the keys in json files, but it's also not enough for reliability.
-
How do you manage translation files ?
If you don't want to write it yourself and you use eslint, you can check out eslint-plugin-i18n-json, it seems to do what you're looking for with i18n-json/identical-keys.
What are some alternatives?
laravel-vue-i18n - Allows to connect your `Laravel` Framework translation files with `Vue`.
eslint-plugin-boundaries - Eslint plugin checking architecture boundaries between elements
workflows - The Workflow Package add Drag & Drop Workflows to your Laravel Application.
globalize - A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data
ziggy - Use your Laravel routes in JavaScript.
eslint-plugin-proper-ternary - ESLint rules to ensure proper usage of ternary/conditional expressions
kanatran - Kanatran has been discontinued. Please read our announcement post.
eslint-plugin-unicorn - More than 100 powerful ESLint rules
ziggy - Use your Laravel named routes in JavaScript [Moved to: https://github.com/tighten/ziggy]
eslint-plugin-snakecasejs - :pencil2: ESLint Plugin: enforce snake_case syntax on variables and function names
Laravel-JS-Localization - 🌐 Convert your Laravel messages and consume them in the front-end!