localize Labels
Extension function to localize style labels
Parameters
locale
the locale that applied for localization
layer Ids
the id of layers that will localize on, default is null which means will localize all the feasible layers.
Throws
if current style is STANDARD which does not support localizing labels client-side runtime localization.