* Update ui-text.yml with Romanian translation Added the translations for Romanian * Update ui-text.yml Corrected „less_than” with a proper translation for the context where it is being used * Update docs Added Romanian to the languages list
1.8 KiB
title | permalink | excerpt | last_modified_at |
---|---|---|---|
UI Text | /docs/ui-text/ | Text for customizing user interface elements found in the theme. | 2018-06-04T12:04:02-04:00 |
Text for UI elements, _layouts
, and _includes
grouped together as a set of translation keys. This is by no means a full-on i18n solution, but it does help make customizing theme text a bit easier.
The English1 main keys in _data/ui-text.yml
are translated in the following languages:
- Brazilian Portuguese (Português brasileiro)
- Chinese
- Danish
- Dutch
- French (Français)
- German (Deutsch)
- Greek
- Hungarian
- Indonesian
- Italian (Italiano)
- Korean
- Japanese
- Nepali (Nepalese)
- Polish
- Romanian
- Russian
- Slovak
- Spanish (Español)
- Swedish
- Turkish (Türkçe)
- Vietnamese
If you're are interested in localizing them into other languages feel free to submit a pull request and I will be happy to look it over.
Many of the label based keys like meta_label
, categories_label
, tags_label
, share_on_label
, and follow_label
can be left blank if you'd like to omit them from view. It really depends on you and if you want an even more minimal look to your site.
![UI text labels]({{ "/assets/images/mm-ui-text-labels.jpg" | relative_url }})
Note: The theme comes with localized text in English (en
, en-US
, en-GB
). If you change locale
in _config.yml
to something else, most of the UI text will go blank. Be sure to add the corresponding locale key and translated text to _data/ui-text.yml
to avoid this.
{: .notice--warning}
-
en-US
, anden-GB
use YAML anchors to reference the values inen
as to not repeat them. ↩︎