status-network-site/LANGUAGES.md

654 B

Description

This document describes how to add new languages.

Process

Lets say that we want to add a new Armenian translation of the page.

  1. Figure out the right 2-lettter ISO-639-1 code:
  1. Create a new translation file:
  • themes/navy/languages/hy.yml
  1. Update the list and names of languages in:
  • source/_data/languages.yml
  1. Add the new language to the language list in both:
  • _config.dev.yml and
  • _config.prod.yml
  1. Build the project using yarn run build
  • Verify you see no templating errors.