Home Filters Translate-filters
Translate Filters
Apply locale translation for the given key
. key
must be scoped with your theme name. By default, it will pick up from current listing’s locale. Locales directory is located inside your theme directory. It’s a good idea to organize your locales into multiple .yml
files.
Be sure to check out the sample theme.
Valid locale keys are: en, af, ar, az, bg, bn, bs, ca, cs, cy, da, de-AT, de-CH, de, el, en-AU, en-CA, en-GB, en-IE, en-IN, en-NZ, en-US, en-ZA, eo, es-419, es-AR, es-CL, es-CO, es-CR, es-EC, es-MX, es-PA, es-PE, es-US, es-VE, es, et, eu, fa, fi, fr-CA, fr-CH, fr, gl, he, hi-IN, hi, hr, hu, id, is, it-CH, it, ja, km, kn, ko, lo, lt, lv, mk, mn, ms, nb, ne, nl, nn, or, pl, pt-BR, pt, rm, ro, ru, sk, sl, sr, sv, sw, ta, th, tl, tr, uk, ur, uz, vi, wo, zh-CN, zh-HK, zh-TW, zh-YUE.
km:
sample:
read_more: 'អានបន្ត'
my_office: 'ការិយាល័យខ្ញំ'
links:
home: 'ទំព័រដើម'
about_us: 'អំពីយើង'
contact_us: 'ទំនាក់ទំនងយើង'
feedback: 'មតិអ្នកប្រើ'
announcement: 'សេចក្តីប្រកាស'
announcements: 'សេចក្តីប្រកាស'
brochures: 'ខិត្តប័ណ្ណ'
photos: 'រូបថត'
map: 'ផែនទី'
menu: 'ម៉ឺនុយ'
people: 'មនុស្ស'
products: 'ផលិតផល'
services: 'សេវាកម្ម'
reservation: 'ការកក់'
sign_in: 'ចូលប្រព័ន្ធ'
people:
directors: 'នាយក'
managers: 'អ្នកចាត់ការទូទៅ'
employees: 'បុគ្គលិក'
Input
<h1 class="page-title">{{ 'sample.links.about_us' | translate }}</h1>
Output
<h1 class="page-title">អំពីយើង</h1>