Method
IpuzPuzzleget_locale
Declaration [src]
const gchar*
ipuz_puzzle_get_locale (
IpuzPuzzle* self
)
Description [src]
Returns the locale of the puzzle.
The locale can be used for filtering by the language of the puzzle
for users in applications. It also changes the default
IpuzPuzzle:charset type. It should not affect the
parsing of the puzzle at all — any encoding information included is ignored.
Puzzle that don’t have a language tag explicitly set are implicitly parsed as being in the “C” Locale.
Example locale strings:
"en_NZ" — New Zealand English
"bg_BG" — Bulgarian
"de" — German
This is a libipuz-only extension to the ipuz spec.
| Gets property | Ipuz.Puzzle:locale |