Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
use Zend\I18n\Translator\Translator;
return Translator::factory([
'translation_file_patterns' => [
[
'type' => 'gettext',
'base_dir' => __DIR__ . '/../languages',
'pattern' => '%s.mo',
],
],
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.