Tiny custom lexicon for MODx Revolution includes essential words and phrases .) (alpha)
Lexicon includes:
- Essential phrases (eg. More Info, View more, Hot news, ...)
- Days of the week
- Months
- Registration form
- ...
Just download the source code from GitHub and copy to your MODx folder.
path-to-your-modx-installation/core/lexicon/*
[[%learn_more? &language=`[[++cultureKey]]` &namespace=`core` &topic=`app`]]
- Placeholder:
[[++cultureKey]]
(easy to use with Babel addon) - Snippet:
$modx->getOption('cultureKey');
orreturn $modx->context->key;
- Step 1: Login to your MODx Manager
- Step 2: Go to System -> Lexicon
- Step 3: Switch topic to app
Notice: In MODX Revolution, however, the strings are still in the files, but if you change the strings properly, the new version is stored in the MODX database, where it will survive any upgrades. Bobs's Guide
I welcome you to customize this according to your needs or add other language. Pull requests for any improvements would be great!