Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator interface { SetTranslations(t []*domain.Translation) Generator SetFormat(format Format) Generator // web-json, ios-strings, android-xml SetPluralFormat(format PluralFormat) Generator // json, i18n Generate() (Document, error) }
type PluralFormat ¶
type PluralFormat int8
const ( PluralFormatDefault PluralFormat = iota // using for android, apple PluralFormat18N // using for web )
Click to show internal directories.
Click to hide internal directories.