Skip to content

Localization: Not working for Languages with different Decimal Separator #39

@phldgmn

Description

@phldgmn

Hi,

I just wanted to let you know, that the current version of your library is not working for many foreign devices, e.g. German, French, ..., on which a comma instead of a dot is used for decimal separation.
The line in question is probably MapboxDirections.java:262 resulting in
https://api.mapbox.com/v4/directions/mapbox.driving/-77.047237,38.892255;-77.019759,38.903568.json... for English / American devices and in https://api.mapbox.com/v4/directions/mapbox.driving/-77,047237,38,892255;-77,019759,38.903568.json... for e.g. German devices.
The latter request is failing, BTW.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions