def get_i18n_day_name(day_nb, display='<STR_LIT>', ln=None):
ln = default_ln(ln)<EOL>_ = gettext_set_language(ln)<EOL>if display == '<STR_LIT>':<EOL><INDENT>days = {<NUM_LIT:0>: _("<STR_LIT>"),<EOL><NUM_LIT:1>: _("<STR_LIT>"),<EOL><NUM_LIT:2>: _("<STR_LIT>"),<EOL><NUM_LIT:3>: _("<STR_LIT>"),<EOL><NUM_LIT:4>: _("<STR_LIT>"),<EOL><NUM_LIT:5>: _("<STR_LIT>"),<EOL><NUM_LIT:6>: _("<STR_LIT>")}<EOL><DEDENT>else:<EOL><INDENT>days = {<NUM_LIT:0>: _("<STR_LIT>"),<EOL><NUM_LIT:1>: _("<STR_LIT>"),<EOL><NUM_LIT:2>: _("<STR_LIT>"),<EOL><NUM_LIT:3>: _("<STR_LIT>"),<EOL><NUM_LIT:4>: _("<STR_LIT>"),<EOL><NUM_LIT:5>: _("<STR_LIT>"),<EOL><NUM_LIT:6>: _("<STR_LIT>")}<EOL><DEDENT>return days[day_nb]<EOL>
Get the string representation of a weekday, internationalized

    @param day_nb: number of weekday UNIX like.
                   => 0=Sunday
    @param ln: language for output
    @return: the string representation of the day