# Translating template

**URL:** <https://community.silverfin.com/t/translating-template/984>\
**Category:** Templates\
**Tags:** translations\
**Created:** [June 11, 2018, 2:27pm UTC](https://community.silverfin.com/t/translating-template/984 "2018-06-11T14:27:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![robindeclercq](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/robindeclercq/32/472_2.png) [@robindeclercq](https://community.silverfin.com/u/robindeclercq)\
**Post date:** [June 12, 2018, 8:10am UTC](https://community.silverfin.com/t/translating-template/984/2 "2018-06-12T08:10:15Z")

</div>

Hi @Ward,

In your current code the months/quarters are not being translated. In order to make sure the translation is done, you should amend your code as follows (also see following case for more information on how to translate templates for use in other language [https://community.silverfin.com/t/case-how-to-translate-templates-for-use-in-other-language-fr-en/185](https://community.silverfin.com/t/case-how-to-translate-templates-for-use-in-other-language-fr-en/185)):

> {% t= “maanden” nl:“januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december” fr:“janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|decembre” %}  
> {% t= “kwartalen” nl:“kw. 1|kw. 2|kw. 3|kw. 4” fr:“trim. 1|trim. 2|trim. 3|trim. 4” %}  
> {% t= “Loonadministratie” fr:“Salaire administratif” %}  
> {% t= “Kwartalen|Maanden” fr:" Trimestres|Mois" %}  
> {% t= “Kwartalen” fr:“Trimestres” %}  
> {% t= “Belastbaar” fr:“Imposable” %}  
> {% t= “Bedrijfsvoorheffing” fr:“Précompte professionnel” %}  
> {% t= “Bijkomende aangifte” fr:“Déclaration supplémentaire” %}  
> {% t= “Kalenderjaar” fr:“Année calendrier” %}  
> {% t= “TOTAAL BOEKJAAR” fr:“TOTAL EXERCICE COMPTABLE” %}  
> {% t= “Boekhouding” fr:“Comptabilité” %}  
> {% t= “Onuitgelegd” fr:“Inexpliqué” %}  
> {% t= “Totaal” fr:“Total” %}  
> {% t= “Netto wedde” fr:“Rémunération nette” %}  
> {% t= “Sociaal statuut” fr:“Statut social” %}  
> {% t= “V.A.A.” fr:"A.T.N. " %}
> 
> {% capture maanden %}{% t “maanden” %}{% endcapture %}  
> {% capture kwartalen %}{% t “kwartalen” %}{% endcapture %}
> 
> {% assign value\_periods = custom.config.periods | default:1 %}  
> {% if value\_periods == 2 %}{% assign periods = maanden | split:‘|’ %}{% else %}{% assign periods = kwartalen | split:‘|’ %}{% endif %}
> 
> {% assign year\_first\_year = period.year\_start\_date | date:‘%Y’%}{% assign split\_on\_month = period.year\_start\_date | date:‘%-m’ %}{% assign split\_on\_index\_first\_year = split\_on\_month-1 | divided\_by:12/periods.size %}  
> {% assign year\_second\_year = period.year\_end\_date | date:‘%Y’ %}{% assign split\_on\_month = period.year\_end\_date | date:‘%-m’ %}{% assign split\_on\_index\_second\_year = split\_on\_month | divided\_by:12/periods.size %}
> 
> |---------|—|—:|—:+  
> | **{% if period.custom.bundel.gent == ‘true’ %}{% else %}{% endif %}1. {% t “Loonadministratie” %}**  
> |  
> | **{% input custom.config.periods as:select options:‘Kwartalen|Maanden’ option\_values:‘1|2’ default:‘2’%}** | | **{% t “Belastbaar” %}** | **{% t “Bedrijfsvoorheffing” %}** |

Kindly note that we have also declared option\_values for the select to make sure the value ‘Kwartalen/Trimestres’ is selected as default.

Hope this answers your question!

Kind regards,  
Robin

---

_[View the full topic](https://community.silverfin.com/t/translating-template/984)._
