Jump to content

Locations for translations


Adriano Faria

Recommended Posts

Taking a look at the code this is the function in languages.php that adds those locales (pt_BR is indeed listed in the possible locales list):

\IPS\Lang::localeField( $form );

And it calls the validateLocale() function in the same class to verify the locale exists on the server, that function itself calls the php function setlocale(). The test for this one fails and the locale is not added in the dropdown because of it.

Link to comment
Share on other sites

I agree with terabyte's suggestion - most likely pt_BR is not installed on the server and the only solution would be to install it. I couldn't tell for sure without checking the server though. Most likely I'd write a small standalone script that tests each locale to determine if it is available or not.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...