Norwegian Localization causes Text To Speech to skip decimal in channel values
|Assignee:||Android Dashboard Developers||% Done:|
|Target version:||2.0 Multiple models|
If using norwegian localizations, the values will show in the display as "4,20 Volt" instead of "4.20 Volt", this is fine, however this will read as "420 Volt" by the Text to speech engine.
#1 Updated by Espen Solbu almost 6 years ago
Localization is set to Locale.US in FrSkyServer.java (onInit)possible fixes:
- use system localization instead of hardcoded
- if mismatch in localizations, then replace system localization decimal point with Locale.US decimal point
- Android Recomends Locale.US for machine readable data: http://developer.android.com/reference/java/util/Locale.html this means i should aim at replacing..
- See http://developer.android.com/reference/java/text/DecimalFormatSymbols.html to get Decimal Separator