Don't force the use of Accept-Language anymore
This is not intended anymore, since it falls back to force english when the header is not set. Also 0228bc6e makes clear that the order should be: 1. User setting 2. Accept language 3. Admin default This is the case since the commit from above, unless via OCS and DAV. Both forced to accept-language falling back to english. By removing the force, it now also matches the w3 priority list: https://www.w3.org/International/questions/qa-lang-priorities Signed-off-by:Joas Schilling <coding@schilljs.com>
Showing
- lib/private/L10N/Factory.php 0 additions, 18 deletionslib/private/L10N/Factory.php
- lib/public/L10N/IFactory.php 0 additions, 8 deletionslib/public/L10N/IFactory.php
- ocs/v1.php 0 additions, 3 deletionsocs/v1.php
- remote.php 0 additions, 3 deletionsremote.php
- tests/lib/L10N/FactoryTest.php 22 additions, 26 deletionstests/lib/L10N/FactoryTest.php
Please register or sign in to comment