Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liorocks/Laravel-KA
Deprecated. Use Laravel Lang Instead. https://github.com/Laravel-Lang/lang
https://github.com/liorocks/Laravel-KA
georgia laravel
Last synced: about 2 months ago
JSON representation
Deprecated. Use Laravel Lang Instead. https://github.com/Laravel-Lang/lang
- Host: GitHub
- URL: https://github.com/liorocks/Laravel-KA
- Owner: liorocks
- Archived: true
- Created: 2015-10-14T21:09:20.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-04-25T07:45:28.000Z (over 3 years ago)
- Last Synced: 2024-11-02T19:05:39.084Z (2 months ago)
- Topics: georgia, laravel
- Language: PHP
- Homepage: https://github.com/Laravel-Lang/lang
- Size: 18.6 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-georgia - Landish/Laravel-Ka - [Laravel](http://laravel.com/) Georgian Language Pack. (Categories)
README
# Laravel KA
[Laravel (5.x)](http://laravel.com/) Georgian Language Pack.
## Installation
Open terminal and run the following command from the root directory of your Laravel application:
```
$ git clone [email protected]:Landish/Laravel-KA.git resources/lang/ka
```Open `/config/app.php` file, replace `locale` key from `en` to `ka` and you're ready to go.
```php
'locale' => 'ka',
```
*These translated files also exists in [caouecs/Laravel-lang](https://github.com/caouecs/Laravel-lang) repository, which can be installed with [composer](https://getcomposer.org/).*Alternatively, you can [download the archive](https://github.com/Landish/laravel-ka/archive/master.zip) and place the translated files into your `/resources/lang/ka` directory.
## Validation Translation
If you want to translate form field names, during [validation](http://laravel.com/docs/validation), open the `/resources/lang/ka/validation.php` and at the end of the file set up the `attributes` array:
```php
'attributes' => [
'title' => 'სათაური'
],
```In that case, if you have `required` rule on the `title` field and you'll leave blank during form submit, you'll get the validation error message `სათაური აუცილებელია` instead of `title აუცილებელია`.
## Contribution & Bugs
Feel free to [open an issue](https://github.com/Landish/laravel-ka/issues/new) or pull request, if you find any bugs, have a question or an improved version of translaton. :thumbsup:
## Licence
[The MIT License (MIT)](https://opensource.org/licenses/MIT).