Bug #37316
Use findBestMatchingLocale instead of getDefaultLocale?
| Status: | New | Start date: | 2012-05-20 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Validation | |||
| Target version: | - | |||
| PHP Version: | Complexity: | |||
| Has patch: | No | FLOW3 version affected: | FLOW3 1.1.0 beta 1 | |
| Votes: | 0 |
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