-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Some ads regions are unavailable on Ubuntu after changing system locale #6560
Comments
Followed the STR from the description.
|
Thanks @srirambv, but it didn't work for me, even after system restart. The output from |
Good news. The issue does not reproduce when I clean installed Ubuntu. Clean installed Ubuntu 19.10, Argentina. Clean installed Ubuntu 18.04 LTS, Argentina. This issue only reproduces when locale is changed to another locale which I think most user will not do. cc @tmancey |
@btlechowski I'm going to go ahead and close this one per your last comment. |
Follow up to #5655
Important: the issue does not reproduce when Clean installed Ubuntu thus majority of users will not be affected. More info #6560 (comment)
On Ubuntu System language determines the ads region.
Limited number of locales makes it impossible to enable ads.
This is most prominent for
Spanish
locale, which will disable ads for all Spanish speaking countries.Steps to Reproduce
brave://rewards
Setting up system locale:
Language Support
in UbuntuSpanish
languageSpanish
default system localeApply System-Wide
Regional Formats
at the topRegional Formats
toEspanol(Argentina)
Apply System-Wide
Affected locales:
Argentina es_AR
Chile es_CL
Colombia es_CO
Ecuador es_EC
Mexico es_MX
Peru es_PE
Venezuela es_VE
Actual result:
ads are unavailable in this region
The
locale
command shows the followingLocale used to show ads is
en_ES
Since
en_ES
is not supported ads region, the ads are unavailableNote: It is possible to manually overwrite the system locale before launching Brave (clean install) and that fixes the issue.
LANG=es_AR.UTF-8 LANGUAGE=es_AR /usr/bin/brave-browser
Note: the most obvious way to fix it is to use
Regional Formats
which allows to set the right region.Expected result:
ads are available
Locale used to show ads is
es_AR
Reproduces how often:
Always
Brave version (brave://version info)
Miscellaneous Information:
cc @tmancey @rebron @brave/legacy_qa
The text was updated successfully, but these errors were encountered: