sufone / layl

🌙 Calculator for tahajjud, qiyam, and worship & sleep in an Islamic night!

Home Page:https://layl.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup location name in target language…

mr-islam opened this issue · comments

Need to test after deploying since only the official domain is whitelisted for HERE maps

Potential issue is need to use locals of the format en-US and ar-SA, instead of just en and ar

Could have a handler for that… but just annoying lol

Changing provider isn't worth it right now, and the new HERE maps version doesn't even seem to support language

  • re-fetch when locale changes
  • use country name in UI, keeping country code for calc check

Just confirmed, it's working!

Though the location name does not update till a new request is made -- guess we should refetch the location when a change locale change is made!