Tiny custom lexicon for MODX Revolution includes essential words and phrases .)
Lexicon includes:
- Essential phrases (eg. More Info, View more, Hot news, ...)
- Days of the week
- Months
- Registration form
- ...
Just install latest package located here in _packages
directory
[[%learn_more? &language=`[[++cultureKey]]` &namespace=`lexiconx` &topic=`default`]]
- 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 Settings -> Lexicons
- Step 3: Switch namespace to lexiconx
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!