biberlabs / zf2-boilerplate

Unofficial & enhanced skeleton application for ZF2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apply some best practices to Translator Service

edigu opened this issue · comments

  • Translator service should use APC cache on production environment. This can be adjustable on merge configuration process.
  • Translator should use php array adapter for simplicity. Converting to poedit or remote will not be a difficult task. Mac version of the poedit is a crapware, also installing a 3rd party desktop application to convert translations is pointless.
  • Provide several sample translations in /languages folder.
  • Create a controller and related action to change language, store & lookup selected language in session storage for now.
  • Write documentation
  • Provide a correct way for disabling translation cache on development environment.