Commit Graph

3 Commits (5357329454afd76c9c3bf5c292d605e3039d3508)

Author SHA1 Message Date
Matt Jankowski 629d35e6f5 [WIP] Html lang on statuses (#2297)
* Add html lang attributes around statuses

* Remove urls from language detection
8 years ago
Eugen 96268e76e6 Fix wording on admin instances view, fix typos in language detector spec (#2106) 8 years ago
Matt Jankowski 297c11dba2 Language detection refactor (#2099)
* Extract detect_language to separate class

* Use default locale, not just en

* Add spec to confirm that whatlanguage cant identify empty string

* Allow account locale to override default in language detector

* PostStatusService supplies an account to detect language
8 years ago