The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SIL::Shoe::Lang - Shoebox language file interface

SYNOPSIS

  $s = SIL::Shoe::Lang->new("filename.lng");
  $s->read;
  $s->{'srt'}{"order"}{'primary'};

DESCRIPTION

This class provides an interface to the Shoebox language file. It restructures the file for easier access and provides various support functions for sorting, etc.

In addition to those in SIL::Shoe::Control, the following methods are available:

$s->build_sorts

Builds tables to help with sort ordering, for each sort order in the language file.

$s->sort_key($name, $str)

Calculates a sort key which can be string compared for a given string and sort order name