beroNet / Open-PBX

embedded PBX based on Asterisk, which runs on a beroNet Gateway
MIT License
5 stars 3 forks source link

Language is chosen wrong #11

Closed sebastianertz closed 11 years ago

sebastianertz commented 11 years ago

My HTTP_ACCEPT_LANGUAGE is de-de,de;q=0.8,en-us;q=0.5,en;q=0.3, the UI is always in English. Use always the last entry in HTTP_ACCEPT_LANGUAGE

See commit https://github.com/beroNet/Open-PBX/commit/3e74bd97f894dda88f79808bddd98210b142f904 or File lang_wrapper.php.

sebastianertz commented 11 years ago

fixed in commit https://github.com/beroNet/Open-PBX/commit/a20472bb78c6ecbb02c0067e2ce899b225d20a93