Merge pull request #351 from monarc-project/feature/internationalization

Feature/internationalization
phpword_v0.18.1
Cedric 2021-05-06 06:18:21 +00:00 committed by GitHub
commit e3970a2339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 5 deletions

View File

@ -4,8 +4,17 @@ return array(
'languages' => [
1 => 'Français',
2 => 'English',
3 => 'Deutsch'
4 => 'Nederlands'
3 => 'Deutsch',
4 => 'Nederlands',
5 => 'Spanish',
6 => 'Italien',
7 => 'Japanese',
8 => 'Polish',
9 => 'Portuguese',
10 => 'Russian',
11 => 'Chinese',
],
'defaultLanguageIndex' => 1,
@ -31,5 +40,5 @@ return array(
]
*/
'activeLanguages' => array('fr','en','de','ne',)
'activeLanguages' => array('fr','en','de','nl','es','it','ja','pl','pt','ru','zh'),
);

View File

@ -47,15 +47,43 @@ return [
'index' => 3,
'label' => 'Deutsch',
],
'ne' => [
'nl' => [
'index' => 4,
'label' => 'Nederlands',
],
'es' => [
'index' => 5,
'label' => 'Spanish',
],
'it' => [
'index' => 6,
'label' => 'Italian',
],
'ru' => [
'index' => 7,
'label' => 'Russian',
],
'pt' => [
'index' => 8,
'label' => 'Portuguese',
],
'pl' => [
'index' => 9,
'label' => 'Polish',
],
'jp' => [
'index' => 10,
'label' => 'Japanese',
],
'zh' => [
'index' => 11,
'label' => 'Chinese',
],
],
'defaultLanguageIndex' => 1,
'activeLanguages' => ['fr', 'en', 'de', 'nl',],
'activeLanguages' => array('fr','en','de','nl','es','it','ja','pl','pt','ru','zh'),
'appVersion' => $package_json['version'],