speaklater: Lazy strings for Python

Description

Implements a lazy string for python useful for use with gettext

A module that provides lazy strings for translations. Basically you get an object that appears to be a string but changes the value every time the value is evaluated based on a callable you provide.

For example you can have a global lazy_gettext function that returns a lazy string with the value of the current set language.

Type

optional

Version Information

package-version.txt:

1.3.p0

install-requires.txt:

speaklater >=1.3

Equivalent System Packages

conda:

$ conda install speaklater python:speaklater

opensuse:

$ sudo zypper install speaklater python:speaklater

See https://repology.org/project/speaklater/versions, https://repology.org/project/python:speaklater/versions

However, these system packages will not be used for building Sage because using Python site-packages is not supported by the Sage distribution; see https://trac.sagemath.org/ticket/29023