API Reference kanta v0.3.1
Modules
Main Kanta supervisor
Kanta Cache for minimalizing calls to DB
This is the cache for the primary storage.
Kanta configuration helper
Migrations create and modify the database tables Kanta needs to function.
Kanta V1 Migrations
Kanta V2 Migrations
Handler responsible for extracting data from .po files
GenServer responsible for extracting messages and translations from .po files
Service responsible for extracting gettext messages from .po files
Service for extracting plural messages and translations from .po files
Service for extracting singular messages and translations from .po files
This module is a base for all queries modules in the app.
Kanta Registry
Main Kanta Translations context
Gettext Context DB model
Includes type specs for context.
Gettext Contexts Kanta subcontext
Query module aka Finder responsible for finding gettext context
Query module aka Finder responsible for listing gettext contexts
Gettext domain DB model
Includes type specs for domain.
Gettext domains Kanta subcontext
Query module aka Finder responsible for finding gettext domain
Query module aka Finder responsible for listing gettext domains
Locale DB model
Query module aka Finder responsible for finding locale
Query module aka Finder responsible for getting translation progress for given locale
Query module aka Finder responsible for listing locales
Finder for getting locales for which we have translated message
Service for mapping locale iso639 code to the Kanta locale
Utility for mapping locales data from iso code
Includes type specs for locale.
Locales Kanta subcontext
Gettext message DB model
Includes type specs for message.
Kanta Messages subcontext
Query module aka Finder responsible for finding gettext message
Query module aka Finder responsible for listing gettext messages
Plural translation DB model
Includes type specs for plural translations.
Plural translations Kanta subcontext
Query module aka Finder responsible for finding plural translation
Query module aka Finder responsible for listing plural translations
Query module aka Finder responsible for listing translated plural translations
Singular translation DB model
Includes type specs for singular translations.
Singular translations Kanta subcontext
Query module aka Finder responsible for finding singular translations
Query module aka Finder responsible for listing singular translations
Query module aka Finder responsible for listing translated singular translations
Types used in Kanta
Kanta configuration validator
The entrypoint for defining your web interface, such as controllers, views, channels and so on.
SVG icons used in Kanta UI
Kanta Logo component
Shared pagination component
Simple search input component
Shared select component
Tabs component
Toggle/Checkbox component
Messages filters bar component
Gettext messages table component
Gettext contexts table component
Gettext domains table component
Plural translation form component
Singular translation form component
Simple plug for redirecting to Kanta UI