https://github.com/dillingham/js-trans
compile multiple translation files for javascript __('key') method
https://github.com/dillingham/js-trans
laravel
Last synced: 2 months ago
JSON representation
compile multiple translation files for javascript __('key') method
- Host: GitHub
- URL: https://github.com/dillingham/js-trans
- Owner: dillingham
- License: mit
- Created: 2019-08-23T17:01:03.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-01T06:50:04.000Z (almost 7 years ago)
- Last Synced: 2025-03-31T20:13:45.775Z (over 1 year ago)
- Topics: laravel
- Language: PHP
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# js trans
[](https://packagist.org/packages/dillingham/js-trans)
[](https://packagist.org/packages/dillingham/js-trans) [](https://twitter.com/dillinghammm)
```
composer require dillingham/js-trans
```
- add `{!! js_trans() !!}` to app.blade.php
- use `js_trans($array);` to add translation key/values