Commit Graph

59 Commits (ba94de2510b3858f10d60f0230a58b1252346372)

Author SHA1 Message Date
c39cfbb3 1bf15da863 Update lib/private/L10N/Factory.php 3 years ago
c39cfbb3 f7cd3d17b8 L10N/Factory: Support "Accept-Language: zh-Hans-CN" and alike 3 years ago
Hamid Dehnavi d0b20534b9 Refactor "substr" calls to improve code readability 3 years ago
Faraz Samapoor e7cc7653b8 Refactors "strpos" calls in lib/private to improve code readability. 3 years ago
Côme Chilliet 426c0341ff
Use typed version of IConfig::getSystemValue as much as possible 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Julius Härtl 306d7829b5
Cache available languages locally 4 years ago
Joas Schilling f03468342e
Remove createPluralFunction which is replaced by Symfony\Translations lib 4 years ago
Jonas Meurer a6f0278e67
Default to language from request in L10N\Factory->getUserLanguage() 4 years ago
Christopher Ng 7215148a24 Add new account properties 5 years ago
Christoph Wurst 5b727fc7da
Add L10n factory method for generic language heuristics 5 years ago
Christopher Ng cc5815dcd0 Provide initial state 5 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
dependabot-preview[bot] eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 5 years ago
Morris Jobke 24d436cb60
Remove unneeded casts that were found by Psalm 5 years ago
Roeland Jago Douma 441a3434f3
Move localecache to array 6 years ago
Roeland Jago Douma 6e377a9daf
Only parse the locales ones 6 years ago
Christoph Wurst 2a054e6c04
Update the license headers for Nextcloud 20 6 years ago
Joas Schilling b997edad10
Add a dedicated method to get the language for another user 6 years ago
GretaD fce716b905
Fix languages empty array 6 years ago
Christoph Wurst 28f8eb5dba
Add visibility to all constants 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst 44577e4345
Remove trailing and in between spaces 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 7 years ago
Christoph Wurst de6940352a Move settings to an app 7 years ago
Roeland Jago Douma b2cc5d8fb6
Make the L10N loading lazy 7 years ago
John Molakvoæ (skjnldsv) 7d158c62ce
Typehint 8 years ago
John Molakvoæ (skjnldsv) df143cb72a
Use user locale as default in the template 8 years ago
Arthur Schiwon 772bbd99be
Backend work to provide NC whats New info to users 8 years ago
Arthur Schiwon 25d9c3e529
adjust backend and gui to update and changelog server 8 years ago
Georg Ehrke 8c73b13ac8
move locales file to /resources/ 8 years ago
Georg Ehrke b17d256761
fix use of findLocale 8 years ago
Georg Ehrke 9157086c23
properly handle force_locale setting 8 years ago
Georg Ehrke b3921c65a6
cache available locales to minimize fs access 8 years ago
Thomas Citharel bf6bfad76b
OC.getLocale() now returns Locale and no longer Language 8 years ago
Thomas Citharel abab7eb7f0
handle config.php values 8 years ago
Thomas Citharel 4a9f8623b5
Fix review & tests 8 years ago
Thomas Citharel ea380b2918
Allow apps to specify locale for localisation 8 years ago
Roeland Jago Douma 4286e17777
Always set the request language to the force language 8 years ago
Georg Ehrke 2a21471c74
make sure force language is reflected in html lang attribute 8 years ago
John Molakvoæ (skjnldsv) 6ada8254c9
Added language support in users list 8 years ago
Morris Jobke c314eb74a9
Improve conditional of loop 8 years ago
Morris Jobke 4ef302c0be
Request->getHeader() should always return a string 8 years ago
Bjoern Schiessle 2c3d97cc8f
check if $defaultLanguage is a valid string before we move on 9 years ago
Bjoern Schiessle 8b734347b1
use formal version of German if default_language is set to 'de_DE' 9 years ago
Joas Schilling 7816c54625
Allow to force a language and set it via the ocs api 9 years ago