I am building a website using modules such as Company Directory or Products for other uses than their primary ones (i.e. using Products for a Project pages, etc.). To make it possible - and easier for my client, I have to tweak the way the module displays in the admin area, with the method described by Calguy here: http://calguy1000.com/Blogs/6/60.html.
So far, so good, it works great.
Thing is, I am using an extensive amount of custom fields in the Products and the Company Directory modules AND I have a multilanguage website built with MLE.
I have seen some other topics flirting with this subject but none really tackling it: is there a way to call the custom fields in the languages files? That would be so comfortable to work with the admin area and the templates. And I would not have to build one version of each template per language I am using, calling them through categories, which is a huge loss of time and sometimes of possibilities for the modules...
I have tried the basic:
Code: Select all
$lang['myfield'] = 'My Field';
to no avail...
I was wondering if maybe there was a similar way as the one used to call them in the templates, something like:
Code: Select all
$lang['customfieldsbyname.myfield '] = 'My Field';
Any input, idea or theory on this matter?
Thanks a bunch!
Colin
Using: CMSMS 1.6.6 "Bonde" with Products 2.4.3, Company Directory 1.4.1 (but this is a subject that would apply to any module put in a module_custom directory...)