Table of contents

Display your website in Estonian on a stock theme

Display your customized website in Estonian

Display your website in Estonian on a Stock theme

If you are using the Momentum theme and have not yet customized it, your website can be switched into Estonian directly through the Website Settings

  1. Click on Website > Site settings

  2. Select "Estonian" from the Language dropdown

  3. Save site

Display your customized website in Estonian

If you do not see "Estonian" in the Language dropdown, you may need to update your theme. The complexity of this update will depend on how customized your website is already.

Without pre-existing customizations

If you haven't made any changes to your _translation.html or _activity_show.html files from within Website > Theme > Current custom theme > Files, you can just overwrite these files with the files provided in the download link below. You will know if these files have been customized if they have a grey “Custom” badge displayed next to them.

  1. Download the stock theme files or download the modified files here

  2. Find the _translation_et.html and _activity_show_et.html in the downloaded folder and drag them into the “Files” section of your theme.

  3. Overwrite your theme's existing _translation.html file and _activity_show.html file by uploading the version you just downloaded into the “Files” section of your theme.

Updating customized translation files

If you have made changes to your _translation.html or _activity_show.html files, you'll need to add specific code snippets into your customized files so that your pre-existing customizations aren't overwritten. You will know if these files have been customized if they have a grey “Custom” badge displayed next to them.

  1. Download the stock theme files

  2. Find the _translation_et.html and _activity_show_et.html in the downloaded folder and drag them into the “Files” section of your theme.

  3. Open the _translation.html file and find the code snippet:

    {% if tag_list contains 'lang_en' %}
    {% include 'translation_en' %}
    {% assign current_language = 'en' %}

  4. Right below that snippet, add the following:

    {% elsif tag_list contains 'lang_et' %}
    {% include 'translation_et' %}
    {% assign current_language = 'et' %}

  5. Next, find the code snippet:

    {% assign current_language = site.language %}
    {% if site.language contains 'en' %}
    {% include 'translation_en' %}

  6. Right below that snippet, add the following:

    {% elsif site.language contains 'et' %}
    {% include 'translation_et' %}

  7. Open the _activity_show.html file and find the code snippet:

    {% when "en" %}
    {% include "activity_show_en" activity_locale:i18n, activity_stream:activity_stream %}

  8. Right below that snippet, add the following:

    {% when "et" %}
    {% include "activity_show_et" activity_locale:i18n, activity_stream:activity_stream %}

Related HOWTOs

Did this answer your question?