1)
http://rtfm.modx.com/revolution/2.x/case-studies-and-tutorials/developing-an-extra-in-modx-revolution/developing-an-extra-in-modx-revolution,-part-ii#DevelopinganExtrainMODXRevolution%2CPartII-Namespaces
Read about
Namespace and
Lexicons skip
Actions and Menus.
2) Create Namespace
3) Create Lexicon for English version
{namespace_path}/lexicon/en/albums_names.inc.php
and insert there somthing like this:
<?php
$_lang['Деца'] = 'Kids';
4) Create Lexicon for Bulgarian version
{namespace_path}/lexicon/bg/albums_names.inc.php
and insert there somthing like this:
<?php
$_lang['Деца'] = 'Деца';
5) Create album and name it
Деца place some test images there
6) In chunk where you need to display album name translation use this:
[[%[[+name]]?
&topic=`albums_names`
&namespace=`your_namespace_name`
&language=`[[++cultureKey]]`
]]
In your your English context you should see:
Kids
In your your Bulgarian context you should see:
Деца
To translate other album names you need simply add new lines in your Bulgarian and English Lexicons, following this pattern:
$_lang['your_album_name'] = 'translation_of_your_album_name';
P.S. Your
[[++cultureKey]] for Bulgarian context must be:
bg.
P.P.S. also read this
http://rtfm.modx.com/revolution/2.x/developing-in-modx/advanced-development/internationalization#Internationalization-LexiconsviaTag%28incontent%2Cchunks%2Ctemplatesetc%29