translate

Table of contents

Can be used to translate hardcoded texts in your theme, using locale files. It expects you to put a .yml (YAML) file for each language of your site in the locales folder. So if your site supports Dutch and English, you should have the following files:

footer:
  heading: "Welkom bij de footer"
  served_by_plate: "Deze website wordt geserveerd door Plate"
  contacts: 
    phone: "Telefoon"
    email: "Email"
Dutch locale file: nl.yml
footer:
  heading: "Welcome to the footer"
  served_by_plate: "This site is served by Plate"
  contacts: 
    phone: "Phone"
    email: "Email"
English locale file: en.yml

Need help?

Have you any question which is not answered in this knowledge base? Contact us. We are here to help you.