nextcloud-server/tests/lib/L10N
Christoph Wurst 5b727fc7da
Add L10n factory method for generic language heuristics
The existing `findLanguage` method tries its best to find the best
language for the current users. For some tasks we don't want this but
rather determine the most generic language for *another* user, e.g. when
the current user trigger an email notifiaction to someone else. In this
case the current user's language is a bad guess in many multi-language
environments.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-13 09:57:21 +07:00
..
FactoryTest.php Add L10n factory method for generic language heuristics 2021-10-13 09:57:21 +07:00
L10nTest.php Correctly replace all PHP placeholders with the parameters 2021-04-20 16:42:05 +07:00
LanguageIteratorTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +07:00