What's the best option to have language switcher in my ZF2 system?
问题 I have developed small ZF2 doctrine system for one of my client. All is good so far, but they require the system in 2 languages. I can set default language as english or another language from my module/Application/config/module.config.php 'translator' => array( 'locale' => 'en_US', 'translation_file_patterns' => array( array( 'type' => 'gettext', 'base_dir' => __DIR__ . '/../language', 'pattern' => '%s.mo', ), ), ), And I also can use this method to set default in module.php public function