Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

piped uses jalali dates only when language of firefox is set to Persian but no when content language is set to persian #3688

Open
1 task done
rezad1393 opened this issue Jul 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rezad1393
Copy link

Official Instance

Describe the bug

I use firefox.
today I set my "Choose your preferred language for displaying pages" to persian-iran and perisan and then put them at the top of english.

this causes many sites to use persian language. for example google search.
also this causes google search to show dates in jalai (persian) calendar.
youtube shows UI words in persian and date are still Gregorian.

then I set the firefox UI language in persian "Choose the languages used to display menus, messages, and notifications from Firefox." and then restarted.
that doesnt have any other effect on other sites but for piped.video it causes the dates to be shown in persian(jalali) calendar

this has two issues.

first:
the change to dates in jalali should have happened with content language not with firefox UI language.

second and weirder one:
how does piped.video finds out what my firefox UI language is?

To Reproduce

use firefox.
I set "Choose your preferred language for displaying pages" to persian-iran and perisan and then put them at the top of english.

this causes many sites to use persian language. for example google search.
also this causes google search to show dates in jalai (persian) calendar.
youtube shows UI words in persian BUT date are still Gregorian.

I set the firefox UI language in persian "Choose the languages used to display menus, messages, and notifications from Firefox." and then restart.

go top piped.video and open a video page.
date are shown in jalali.

Expected behavior

the first part (setting content language) should have set the dates.

Logs/Errors

No response

Browser, and OS with Version.

firefox 127.0.2 (64-bit) on arch

Additional context

No response

@rezad1393 rezad1393 added the bug Something isn't working label Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant