Lat/Lang dot or comma based?

This topic contains 23 replies, has 2 voices, and was last updated by  Stiofan O’Connor 6 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #422319

    Dirk
    Full Member
    Post count: 390

    Under Settings – default location lat/lang is a comma based float.
    In Places you use a dot based float for lat/lang.

    Please use Lat/Lang with just one approach.

    #422348

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Dirk,

    It should all be decimal based (dot), i dont see comma used anywhere?
    Please let me know how to replicate (though maybe this is related to your other problems)

    Thanks,

    Stiofan

    #422358

    Dirk
    Full Member
    Post count: 390

    I made some pics, alreay thought I added them…

    #422361

    Dirk
    Full Member
    Post count: 390

    Do you set any encoding or language settings?

    #422363

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Those inputs are type=”number” so that should never be allowed and its not standard.
    Again, there seems to be something funny going on with your install, can u link me to the page where u see it as commas?

    Stiofan

    #422367

    Dirk
    Full Member
    Post count: 390

    The comma based on is in GD – settings – default location

    #422374

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Its not like that by default, its not like that in my settings, its not like that in ur settings…? It should not even be possible to save the form with a comma. Do you have a translations browser extension or something, i am guessing that is the main cause of your problems.

    Did u try from mobile?

    Stiofan

    #422376

    Dirk
    Full Member
    Post count: 390

    I tried from my Mac Notebook. And here it is working.
    But also on the Mac it is comma based in default location…
    I have to figure out what the problem on the PC is. I already installed english language settings. Also I installed a chrome portable version. But still no success. I need to think a little bit, what could be the problem.

    Enclosed the default location from my Mac Book.

    #422379

    Dirk
    Full Member
    Post count: 390

    I also tried from my iPhone, but also here it is not working.

    I don’t have any translation thing on the computers or within the browsers.

    #422380

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    ok i think it is a HTML5 input language local problem, i will run some more tests tomorrow.

    Thanks,

    Stiofan

    #422382

    Dirk
    Full Member
    Post count: 390

    okay. Perfect.
    Do you use somewhere setlocale()? I will also try to continue to figure out.

    Best and thanks,
    Dirk

    #422383

    Dirk
    Full Member
    Post count: 390

    BTW: the input field in “Add places” is type=”text”. In GD – Settings the input type is type=”number”. But here the comma based number is just displayed as comma based.
    The value of the field is dot based.

    #422478

    Dirk
    Full Member
    Post count: 390

    I guess it has something to do with the hoster. On my local XAMPP installation it is working fine.
    Let me check with another server.

    #422481

    Dirk
    Full Member
    Post count: 390

    I think we should use this thread here for the difference in the input field. I would prefer to have a consistent approach.
    So if you use in the settings input type=”number” then this should also be used in the “add place” form.

    #422523

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I got to the bottom of this, i’ll fix it today:
    https://github.com/AyeCode/geodirectory/issues/144

    Thanks,

    Stiofan

Viewing 15 posts - 1 through 15 (of 24 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket