Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Landish/Laravel-KA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel KA

Laravel (5.x) Georgian Language Pack.

Installation

Open terminal and run the following command from the root directory of your Laravel application:

$ git clone git@github.com: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.

'locale' => 'ka',

These translated files also exists in caouecs/Laravel-lang repository, which can be installed with composer.

Alternatively, you can download the archive and place the translated files into your /resources/lang/ka directory.

Validation Translation

If you want to translate form field names, during validation, open the /resources/lang/ka/validation.php and at the end of the file set up the attributes array:

'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 or pull request, if you find any bugs, have a question or an improved version of translaton. 👍

Licence

The MIT License (MIT).

Releases

No releases published

Packages

No packages published

Languages