A compiled representation of .po file that requires much less code to parse.
Value that can be translated lazily (e.g.
Value that can be translated lazily (e.g. for definitions whose target language is not known a priori)
Base trait for objects reprensenting languages.
Class representing a pair of language and country (e.g.
Class representing a pair of language and country (e.g. en_US
)
ISO code of language
ISO code of country, may be empty for generic languages.
Class representing a collection of languages.
An implicit evidence that strings could be interpolated into type R
.
An implicit evidence that strings could be interpolated into type R
.
Result type of interpolation
Trait representing Plural-Forms
*.po header, either statically compiled by SBT plugin or dynamically parsed.
Created by makkarpov on 11.06.17.
Provides various string functions that are useful both in macros and in I18n code, such as string interpolations, escaping and unescaping.
A compiled representation of .po file that requires much less code to parse. We cannot embed all strings in Scala file since Java has limit on constant pool (65k) and on length of single string (also 65k). So we extract them to separate file and keep in Scala class only compiled plural function.
This class is just a stub, actual implementation will be generated by SBT plugin.