Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 6603326711922688: Issue 328 - ABP doesn't respect the system locale when adding a filter list (Closed)

Created:
June 11, 2014, 8:42 a.m. by René Jeschke
Modified:
June 12, 2014, 12:17 p.m.
Reviewers:
Felix Dahlke
CC:
Wladimir Palant
Visibility:
Public.

Description

Issue 328 - ABP doesn't respect the system locale when adding a filter list

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M src/org/adblockplus/android/ABPEngine.java View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 3
René Jeschke
Workaround for issue 328: The real problem is that e.g. '^de\\b' doesn't match 'de_DE' but ...
June 11, 2014, 8:53 a.m. (2014-06-11 08:53:24 UTC) #1
Felix Dahlke
libadblockplus uses Mozilla's locale format (https://wiki.mozilla.org/L10n:Locale_Codes), which differs from Java's in more ways than just ...
June 12, 2014, 10:35 a.m. (2014-06-12 10:35:19 UTC) #2
Felix Dahlke
June 12, 2014, 10:52 a.m. (2014-06-12 10:52:53 UTC) #3
LGTM. As discussed on IRC, this should be good enough.

It seems the only downside of not doing a comprehensive translation of country
codes between the formats is that we'll fall back on the canonical language
variant for filter list selection in some edge cases.

Powered by Google App Engine
This is Rietveld