tooot-app / app

https://tooot.app
GNU General Public License v3.0
228 stars 21 forks source link

i18n: wrong fallback language on relative time format #758

Open vitalyster opened 10 months ago

vitalyster commented 10 months ago

Actually I'm using English locale but when I test the app in Russian locale which does not have translations yet - everything works correctly in English locale as fallback locale. However relative dates in timelines ("written XX minutes ago") wrongly falling back to Belarus(!) language. After digging the code I see Belarus locale-data is imported first and I think it will be picked up for all languages which does not have translations while it should fallback to English.