Plugins > Localisation
The Localisation plugin simplifies the development of multilingual websites.
You can design your templates without having to worry about localising terms until later. First, whenever you code a term that will need translation, wrap in a <kit:label> tag. For example:
The language of a page is determined by by the lang attribute of the <html> tag. For example, a French page will specify <html lang="fr">. Then PostCMS will automatically substitute the matching French labels for any <kit:label> tags defined in the page.
<a href="index.php"><kit:label>Home</kit:label></a>Then, using the Localisation plugin, create a language bundle for each language used on the site. Each bundle contains mappings for all the terms defined by <kit:label> tags.
The language of a page is determined by by the lang attribute of the <html> tag. For example, a French page will specify <html lang="fr">. Then PostCMS will automatically substitute the matching French labels for any <kit:label> tags defined in the page.



