Languages: English Русский

Localization

i18n plugin for Luasmith provides tools to create multi-language websites. It uses Lettext, a Gettext implementation for Lua, allowing you to translate strings in your website templates utilizing a commonly used PO file format. The plugin automatically extracts strings and generates PO(T) files when building the website, so you don't have to have standard Gettext utilities (such as xgettext and msgmerge) being installed — everything is handled by Lettext and the plugin to simplify creation of multi-language websites.

Read the plugin documentation on Codeberg.

If you want to look at a luasmith theme code that uses i18n plugin (as well as other plugins), besides the source code of this website you can look at Nara theme.