Use different delimiter for repitition items. Also fixed repitition for deeply nested items.
Unset $g_ui_locale for exporter items where the 'locale' setting is set.

For some reason BaseModelWithAttributes would prefer the global UI
setting over the 'locale' setting passed directly.