How to set the numberFormat to a different locale

You aren't the only person having difficulty. See this recent post for Swedish, Spanish and Catalan. [BUG-3267, IGN-11874] Perspective numeric entry field decimal separator.