FS#2108 - Support local language when install Flyspray
Please show install page as local language, Thank you.
This task is a sub task of FS#1849 - Installer Overhaul
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
1. Web browser will setup "Accept-Language" header when request url. So, install program should parse this variable 'HTTP_ACCEPT_LANGUAGE' in $_SERVER, and load lang/LOCAL.php file first. It must call load_translations() in setup/index.php.
2. Some strings are hard code in setup/templates/*.tpl files, that should replace with " <?php echo Filters::noXSS(L('library'));" or "<?php echo L('library');". For example:
3. Add new $language array item in setup/lang/<LOCAL>.php, for example, "Directive" in setup/templates/pre_install.tpl file.
Install page for Chinese language.
New pull request here: 538.