Skip to content
This repository has been archived by the owner on May 29, 2018. It is now read-only.
/ l10nTag Public archive

MODx: Localization tag. Allows one to provide translations to any string in front end.

Notifications You must be signed in to change notification settings

yurkobb/l10nTag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

About

This package provides support for multilingual strings anywhere in MODx output (resources, chunks, templates, gallery album names, etc.)

The tags look like this: [@en Programming][@de Programmieren][@uk Програмування]. Each tag is processed separately so it doesn’t matter how you combine them. The provided plugin will select the needed string based on the value of the cultureKey setting. Remember that there’s only one ‘[’ and ‘]’:)

The git repo is here: http://github.com/yurkobb/l10nTag

Happy using!

Implementation notes

Currently this package creates a plugin which is tied to the ‘OnParseDocument’ system event. This event may run many times to process one resource, but the result is cached.

About

MODx: Localization tag. Allows one to provide translations to any string in front end.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages