2017 © Pedro Peláez
 

zf-module zf-mod-zfc-user-i18n-pl-pl

Polish pl_PL translation / language pack module for the [ZF-Commons/ZfcUser] module. Moduł polskiego tłumaczenia / paczka językowa dla modułu [ZF-Commons/ZfcUser].

image

websafe/zf-mod-zfc-user-i18n-pl-pl

Polish pl_PL translation / language pack module for the [ZF-Commons/ZfcUser] module. Moduł polskiego tłumaczenia / paczka językowa dla modułu [ZF-Commons/ZfcUser].

  • Thursday, February 27, 2014
  • by websafe
  • Repository
  • 1 Watchers
  • 1 Stars
  • 143 Installations
  • PHP
  • 1 Dependents
  • 2 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

pl_PL, de_DE, ja_jP and ru_RU translations are now merged into ZF-Commons/ZfcUser master branch :-), (*1)

Translation continues there., (*2)

WebsafeZfModZfcUserI18nPlPl

Polish pl_PL translation / language pack module for the ZF-Commons/ZfcUser module., (*3)

Moduł polskiego tłumaczenia / paczka językowa dla modułu ZF-Commons/ZfcUser., (*4)



Installation

Chdir into Your projects root directory (where composer.json resides) and run the following command:, (*5)

~~~~ bash composer require websafe/zf-mod-zfc-user-i18n-pl-pl:dev-master --prefer-dist, (*6)




Configuration -------------------------------------------------------------------------------- ### Enabling the language pack module in Your ZF2 application In `config/application.conf.php` add `WebsafeZfModZfcUserI18nPlPl` after `ZfcUser`: ~~~~ php <?php return array( 'modules' => array( // ... 'ZfcUser', 'WebsafeZfModZfcUserI18nPlPl', // ... ), // ... );

Set the locale

This step is not really required - it depends on how the locale is initialized in Your application., (*7)

In config/global.conf or module/Application/config/module.conf.php add:, (*8)

~~~~ php // ... 'translator' => array( 'locale' => 'pl_PL', // ... ), // ..., (*9)




Updating -------------------------------------------------------------------------------- Chdir into projects root directory (where `composer.json` resides) and run the following commands: ~~~~ bash rm -rf ~/.composer/cache/files/websafe/zf-mod-zfc-user-i18n-pl-pl/ composer update websafe/zf-mod-zfc-user-i18n-pl-pl

The rm -rf ... part is needed when the module was installed with --prefer-dist. Without cleaning up the cache before installing - Composer will probably stick to a cached version., (*10)

Contributing

If You want to help with the polish translation, just edit pl_PL.po located in ./language and after all send a pull request. When You're not familiar with editing .po files - simply report an issue., (*11)

Compiling .po files to .mo files

There's no need to compile .po files after the installation or before sending pull requests, but if you modify the .po file locally, recompile it by executing the following command in this modules root directory:, (*12)

~~~~ bash msgfmt -cv -o language/pl_PL.mo language/pl_PL.po ~~~~, (*13)

The Versions

27/02 2014

dev-master

9999999-dev https://github.com/websafe/zf-mod-zfc-user-i18n-pl-pl

Polish pl_PL translation / language pack module for the [ZF-Commons/ZfcUser] module. Moduł polskiego tłumaczenia / paczka językowa dla modułu [ZF-Commons/ZfcUser].

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

zf2 module translation i18n zfcuser polski language pack polish zf-commons pl_pl pl polskie tlumaczenie