Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Latest commit

 

History

History
35 lines (27 loc) · 912 Bytes

localization.md

File metadata and controls

35 lines (27 loc) · 912 Bytes

Localization

SleepingOwl Admin uses locale from your config/app.php.

/*
|--------------------------------------------------------------------------
| Application Locale Configuration
|--------------------------------------------------------------------------
|
| The application locale determines the default locale that will be used
| by the translation service provider. You are free to set this value
| to any of the locales which will be supported by the application.
|
*/

'locale' => 'ru',

Supported locales (out of box)

  • en
  • ru
  • es
  • pl
  • uk
  • pt-BR
  • zn-CN

Your own locales

You can create your own locales. Create file resources/lang/vendor/sleeping_owl/{locale}/lang.php, insert everything from vendor/laravelrus/sleepingowl/resource/lang/{locale}/lang.php and edit appropriately.

You can create pull request to merge your localization into main package.