The following classes provide protocols that directly support the internationalization and localization of software.
#( <primary local triple> "Triple for which messages are actually stored." <compatible pattern> "Triple for locale compatible with primary." ... (compatible pattern> "Triple for local compatible with primary." )
If the message catalog file contains messages for the specified language, territory, and character set, the compatibilities are not examined and an array containing the specified the language, territory, and character set is returned. Otherwise the matching process examines each line of the compatibilities array (whose format is described in the compatibilities method comment). Within a line of the compatibilities, array patterns are examined from left to right. If no match is found on a given line, the search continues to the following lines until a match is found or no more lines are available. A match occurs if the three elements of the pattern array match language, territory, and character set.
Answers a three-element array consisting of strings that identify the language, territory, and character set. Answers nil if an error occurs or if no compatibility matches the supplied arguments.