Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move translations from Application module scope to ./data/language for whole app. Update translator config Resolves: #6
- Loading branch information
Showing
46 changed files
with
29 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
/** | ||
* AistLocale (http://mateuszsitek.com/projects/aist-locale) | ||
* | ||
* @link http://github.com/ma-si/aist-locale for the canonical source repository | ||
* @copyright Copyright (c) 2006-2016 Aist Internet Technologies (http://aist.pl) All rights reserved. | ||
* @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause | ||
*/ | ||
|
||
return [ | ||
'translator' => [ | ||
//standard part | ||
'locale' => 'pl_PL', | ||
'translation_file_patterns' => [ | ||
'gettext' => [ | ||
'type' => 'gettext', | ||
'base_dir' => './data/language', | ||
'pattern' => '%s.mo', | ||
], | ||
], | ||
|
||
// // aist-locale | ||
// 'check_agent' => false, | ||
//// 'check_agent' => true, | ||
// 'plural_rule' => 'nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)', | ||
// 'supported' => ['pl', 'pl-PL', 'en'], | ||
], | ||
]; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters