LcidLocale.java lists a mapping between java locale and microsoft locale identifier, however this mapping is not complete. MSDN gives this list: http://msdn.microsoft.com/en-us/goglobal/bb964664 with entries like en_SG which are missing. Would it be possible to have a complete mapping in Olap4j?
Besides, would it be possible to fail less violently than a RuntimeException when a locale is missing? In my opinion the LocaleIdentifier is not mandatory for an exchange between a server and a client to be successful so I don't see why not being able to give this information stops all the process of responding to a client. I would have imagine a warning log and a fallback value like en_US in this case, would something like this be possible?
Log in to post a comment.