square-one / square-one-cms

Square one is a light distribution of Joomla!
http://squareonecms.org/
GNU General Public License v2.0
51 stars 9 forks source link

Load language files in component folders in admin/mod_menu #114

Closed mbabker closed 12 years ago

mbabker commented 12 years ago

In the admin mod_menu, only language files in the admin/language folder are being loaded, making it possible for components who store their language files in a admin/com_whatever/language folder (supported since J! 1.6) have untranslated strings on menu items.

gnomeontherun commented 12 years ago

Excellent, thank you Michael. Out of curiosity do you know of a component that does this so I can see too? Code looks fine, just wasn't aware this was even a feature.

mbabker commented 12 years ago

I discovered it working on a paid project actually. I switched to this type of structure for my Podcast Manager 2.0 release, and you can see it with this package - http://www.babdev.com/downloads/pkg_podcastmanager_dev/ver20_ALPHA/pkg_podcastmanager_2.0.alpha.zip

Another one of the core's quiet gems ;-)

On 3/3/12 9:49 PM, "Jeremy Wilken" <reply+i-3492121-6d2e5ec61449f06c55ef5dc1b2f1fa91356d8414-368545@reply.gith ub.com> wrote:

Excellent, thank you Michael. Out of curiosity do you know of a component that does this so I can see too? Code looks fine, just wasn't aware this was even a feature.


Reply to this email directly or view it on GitHub: https://github.com/square-one/square-one-cms/pull/114#issuecomment-4304483

gnomeontherun commented 12 years ago

Thanks, merged and I'll check it out!