Bug #37316

Use findBestMatchingLocale instead of getDefaultLocale?

Added by Carsten Bleicker about 3 years ago.

Status:New Start date:2012-05-20
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:Validation
Target version:-
PHP Version: Complexity:
Has patch:No Affected Flow version:FLOW3 1.1.0 beta 1

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

NumberValidator.php Magnifier (3.5 kB) Carsten Bleicker, 2012-05-20 09:35

Also available in: Atom PDF