Skip to content

Add support for localization #16

@mebibou

Description

@mebibou

If used on a device that is not in English metrics, float values are represented by commas and not dots, i.e. 302.2 will appear as 302,2 in French for example.

This causes all call to javascript methods with float values to fail, for example:

android.selection.startTouch(100,00000, 20,00000);

A way to make this work in all cases would be to surround floatvalues by single quotes:

android.selection.startTouch('100,00000', '20,00000');

and parse them to float in the javascript methods (parseFloat(value))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions