The directory’s contents should be .mo files following the naming scheme ofOmeka’s application/languages directory. If a .mo for the current localeexists, the translations will be loaded.
Parameters:
$dir (string) – Directory from which to load translations.