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

liorocks/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 [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.

'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