Table of contents
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
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.
Download the stock theme files or download the modified files here
Find the _translation_et.html and _activity_show_et.html in the downloaded folder and drag them into the “Files” section of your theme.
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.
Download the stock theme files
Find the _translation_et.html and _activity_show_et.html in the downloaded folder and drag them into the “Files” section of your theme.
Open the _translation.html file and find the code snippet:
{% if tag_list contains 'lang_en' %}
{% include 'translation_en' %}
{% assign current_language = 'en' %}Right below that snippet, add the following:
{% elsif tag_list contains 'lang_et' %}
{% include 'translation_et' %}
{% assign current_language = 'et' %}Next, find the code snippet:
{% assign current_language = site.language %}
{% if site.language contains 'en' %}
{% include 'translation_en' %}Right below that snippet, add the following:
{% elsif site.language contains 'et' %}
{% include 'translation_et' %}Open the _activity_show.html file and find the code snippet:
{% when "en" %}
{% include "activity_show_en" activity_locale:i18n, activity_stream:activity_stream %}Right below that snippet, add the following:
{% when "et" %}
{% include "activity_show_et" activity_locale:i18n, activity_stream:activity_stream %}
Related HOWTOs