Locale files are named for their locale code. For example, the
en_US
file is named en_US.php
,
the pt_BR
file is named
pt_BR.php
, and so on.
Locale files are placed in a subdirectory of the class; the
subdirectory is always named Locale
. For example,
locale files for the Acme_Example
class are located
at Acme/Example/Locale/*
.
Acme/ Example.php Example/ Locale/ en_US.php pt_BR.php