Bug #37316

Use findBestMatchingLocale instead of getDefaultLocale?

Added by Carsten Bleicker about 9 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Validation
Target version:
-
Start date:
2012-05-20
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

Shouldnt the getDefaultLocale() replaced by findBestMatchingLocale() to
use also the fallbacks etc? (Line 62)

from: $locale = $this->localizationService->getConfiguration()->getDefaultLocale();
to: $locale = $this->localizationService->findBestMatchingLocale();

Kind regards
Carsten


Files

NumberValidator.php (3.46 KB) NumberValidator.php Carsten Bleicker, 2012-05-20 09:35

No data to display

Also available in: Atom PDF