Internationalization (i18n) & File Shadowing
BOW was architected for multilingualism from day one. It delivers clean URI structures, automated 301 cross-redirects, file shadowing, and SEO hreflang tags.
1. URL Routing Architecture
The default language (Hungarian) does not require a prefix (/, /funkciok). Localized language routes receive a clean prefix (/en/, /en/features).
If a visitor navigates to an alternate-language slug with a mismatched prefix (e.g. /en/funkciok), the engine automatically executes a 301 Permanent Redirect to the canonical translated URL (/en/features).
2. Template & Config File Shadowing
Avoid cluttered conditional statements in HTML. By simply placing language-specific files alongside the default templates, BOW picks up the localized version automatically:
pages/index/ ├── page.json # Default Hungarian metadata ├── page.en.json # English metadata overrides └── _page/ ├── content.html # Default Hungarian template └── content.en.html # English template (automatically loaded for /en)
3. The @trans: Translation Tokens
In JSON configuration files, string values can be defined with the @trans:dictionary.key prefix. The engine transparently resolves these at runtime from translation-hu.json and translation-en.json.