You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to have a language descriptor file in that pt_br directory called lang.php, the one in en explains how it is laid out:
<?php
// Entries in the LANGUAGES array are elements that describe the
// countries and language variants supported by this locale pack.
// Elements are keyed by the ISO 2 character language code in lowercase
// followed by an underscore and the 2 character country code in Uppercase.
// Each array element has 4 parts:
// 1. Directory name of locale directory
// 2. English name of language
// 3. Name of language in that language
// 4. Microsoft locale code
$dir = basename(dirname(__FILE__));
$LANGUAGES['en_AU'] = array ($dir, 'English (Aus)', 'English (Aus)', 'ena');
$LANGUAGES['en_CA'] = array ($dir, 'English (Can)', 'English (Can)', 'enc');
$LANGUAGES['en_GB'] = array ($dir, 'English (GB)', 'English (GB)', 'eng');
$LANGUAGES['en_NZ'] = array ($dir, 'English (NZ)', 'English (NZ)', 'enz');
$LANGUAGES['en_US'] = array ($dir, 'English (US)', 'English (US)', 'enu', 'ISO8859-15');
?>
Hi!
I'm trying to use locales but its not working.
I have place the file in /locales/pt_br and its wont show on Users Preferences.
What i have to do?
Below screenshoot
Locales:
![locales](https://user-images.githubusercontent.com/38046370/39367170-67d5005a-4a0c-11e8-9e0f-5600d0a48323.JPG)
User Preferences:
![user preferences](https://user-images.githubusercontent.com/38046370/39367095-39ddb70a-4a0c-11e8-8cb9-9870759e8ce2.JPG)
The text was updated successfully, but these errors were encountered: