improve l10n info collect from js