hacks-guide-minimal-mistake.../docs/_docs/08-ui-text.md
Michael Rose 57a4324fa0 Move gh-pages branch files into /docs and add test files
- Jekyll ignore `/docs` and `/test` folders when using from root
- Update Staticman config to point to correct branch and data file location
- Replace `{{ base_path }}` references with `absolute_url` filter
- Update documentation
2016-11-03 11:52:04 -04:00

1.6 KiB

title permalink excerpt modified
UI Text /docs/ui-text/ Text for customizing various user interface elements found in the theme. 2016-11-03T10:52:31-04:00

Text for various UI elements, _layouts, and _includes have all been grouped together as a set of translation keys. This is by no means a full-on i18n solution, but it does help make customizing things a bit easier.

Currently the English1 main keys in _data/ui-text.yml are translated to the following languages:

  • Brazilian Portuguese (Português brasileiro)
  • Chinese
  • French (Français)
  • German (Deutsch)
  • Italian (Italiano)
  • Spanish (Español)
  • Turkish (Türkçe)

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" | absolute_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}


  1. en-US, and en-GB use YAML anchors to reference the values in en as to not repeat them. ↩︎