WIACPSite theme 0.2.0-alpha.92
Türkçe

§9

Language

language.php holds the texts in the source language:

php
<?php

return [
    'header.login' => 'Sign in',
    'home.hero.title' => 'Powerful infrastructure for your business.',
];
  • Resolution order: the text the administrator entered in Languages › Translations → the theme's ready translation (languages/<language>.php) → fallback language → language.php.
  • Theme texts appear in the Translations screen under the theme-<theme-name> namespace. The administrator's translations are not deleted when the theme changes.
  • Core texts (validation messages, status names) are not written into the theme; the ready text from the server is used.