Skip to main content

get_token_conventions_with_localizations_fixture

Function get_token_conventions_with_localizations_fixture 

Source
pub fn get_token_conventions_with_localizations_fixture(
    entries: usize,
) -> TokenConfigurationConvention
Expand description

Token conventions with entries localizations: “en”, then distinct language codes, two letters while they last (2,704 of them) and three after. Every form is “abc”, the shortest validate_localizations accepts, so each entry encodes in the fewest bytes a valid localization can: 13 for a two-letter code.