Flyspray - The bug killer!

  • Status Confirmed
  • Percent Complete
    30%
  • Task Type Feature Request
  • Category User Interface
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version 1.0 devel (github master)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 1
  • Private
Attached to Project: Flyspray - The bug killer!
Opened by yetist - 03.03.2016
Last edited by peterdd - 15.07.2016

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
yetist commented on 04.03.2016 01:40

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:

-                                       <td class="heading">Database</td>
+                                       <td class="heading"><?php echo Filters::noXSS(L('database')); ?></td>

3. Add new $language array item in setup/lang/<LOCAL>.php, for example, "Directive" in setup/templates/pre_install.tpl file.

yetist commented on 04.03.2016 01:45

Install page for Chinese language.

yetist commented on 04.03.2016 11:05

New pull request here: 538.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing