Hi everyone,

I've noticed that the language files for plupload are not loaded, so localization is not possible, although the files are correctly located at libraries/plupload/js/i18n/.

The attached patch seems to fix this issue.

Best,
Caio

Comments

infojunkie’s picture

Assigned: caiosba » Unassigned
Status: Needs review » Reviewed & tested by the community

Works for us. Thanks!

infojunkie’s picture

Status: Reviewed & tested by the community » Needs work

Actually, instead of

$lang_file = 'sites/all/libraries/plupload/js/i18n/'.$language->language.'.js';

you should be using the function plupload_library_path() and appending the language path to it.

caiosba’s picture

Status: Needs work » Needs review
StatusFileSize
new1.04 KB

Thanks for your notice, infojunkie. Just fixed it, please see new attached patch.

infojunkie’s picture

Status: Needs review » Reviewed & tested by the community

Looks good now. Thanks.

slashrsm’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.