My own copy. NOT OFFICIAL, but stable
CMSMS Version > 1.11 not 2.x
- CGExtensions
- Add hreflang template (meta)
- Allow multiline translation with
<br> - Allow params inside string
String with params:
// Smarty tag
{translate text='hi :name' name='Albert'}
// Output
Hi AlbertHreflang:
// template
<head>
{MleCMS action="langs" template="hreflang"}
</head>
// Output
<head>
<link rel="alternate" hreflang="fr_FR" href="http://example.com/fr/" />
<link rel="alternate" hreflang="es_ES" href="http://example.com/es/" />
</head>