https://github.com/aedart/athenaeum-translation
[READ ONLY] Translation utilities for Laravel - see https://github.com/aedart/athenaeum
https://github.com/aedart/athenaeum-translation
Last synced: 12 months ago
JSON representation
[READ ONLY] Translation utilities for Laravel - see https://github.com/aedart/athenaeum
- Host: GitHub
- URL: https://github.com/aedart/athenaeum-translation
- Owner: aedart
- License: bsd-3-clause
- Created: 2023-02-20T12:51:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-21T08:07:45.000Z (about 1 year ago)
- Last Synced: 2025-07-21T09:32:02.917Z (about 1 year ago)
- Language: PHP
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Athenaeum Translation
The translation package contains a few utilities for [Laravel's Localization utilities](https://laravel.com/docs/10.x/localization).
## Exporters
Among the available utilities are translation exporters.
```php
$translations = $exporter->export('en', 'auth');
print_r($translations);
```
```
Array
(
[en] => Array
(
[__JSON__] => Array
(
[The :attribute must contain one letter.] => The :attribute must contain one letter.
)
[auth] => Array
(
[failed] => These credentials do not match our records.
[password] => The provided password is incorrect.
[throttle] => Too many login attempts. Please try again in :seconds seconds.
)
)
)
```
## Documentation
Please read the [official documentation](https://aedart.github.io/athenaeum/) for additional information.
## Repository
The mono repository is located at [github.com/aedart/athenaeum](https://github.com/aedart/athenaeum)
## Versioning
This package follows [Semantic Versioning 2.0.0](http://semver.org/)
## License
[BSD-3-Clause](http://spdx.org/licenses/BSD-3-Clause), Read the LICENSE file included in this package