Make default data translatable
This is one of the last major hurdles to make osTicket fully translatable. With the advent of 1.7.0, database migration is based on the MD5 hash of the install SQL file. Therefore, the install SQL script cannot be modified (ie. translated) or else the system cannot be migrated, since the MD5 hash will no longer match up. This patch pulls initial data out of the install file so that it can be translatable. Eventually the install worksheet can allow a drop-down box of the default system language. The default data from that language will be loaded into the system.
Showing
- bootstrap.php 237 additions, 0 deletionsbootstrap.php
- client.inc.php 1 addition, 1 deletionclient.inc.php
- include/class.dept.php 11 additions, 7 deletionsinclude/class.dept.php
- include/class.filter.php 5 additions, 4 deletionsinclude/class.filter.php
- include/class.i18n.php 174 additions, 0 deletionsinclude/class.i18n.php
- include/class.sla.php 3 additions, 0 deletionsinclude/class.sla.php
- include/class.template.php 18 additions, 11 deletionsinclude/class.template.php
- include/i18n/README.md 31 additions, 0 deletionsinclude/i18n/README.md
- include/i18n/en_US/config.yaml 16 additions, 0 deletionsinclude/i18n/en_US/config.yaml
- include/i18n/en_US/department.yaml 32 additions, 0 deletionsinclude/i18n/en_US/department.yaml
- include/i18n/en_US/email_template_group.yaml 19 additions, 0 deletionsinclude/i18n/en_US/email_template_group.yaml
- include/i18n/en_US/filter.yaml 37 additions, 0 deletionsinclude/i18n/en_US/filter.yaml
- include/i18n/en_US/group.yaml 81 additions, 0 deletionsinclude/i18n/en_US/group.yaml
- include/i18n/en_US/help_topic.yaml 38 additions, 0 deletionsinclude/i18n/en_US/help_topic.yaml
- include/i18n/en_US/priority.yaml 24 additions, 0 deletionsinclude/i18n/en_US/priority.yaml
- include/i18n/en_US/sla.yaml 22 additions, 0 deletionsinclude/i18n/en_US/sla.yaml
- include/i18n/en_US/team.yaml 16 additions, 0 deletionsinclude/i18n/en_US/team.yaml
- include/i18n/en_US/templates/email/assigned.alert.yaml 32 additions, 0 deletionsinclude/i18n/en_US/templates/email/assigned.alert.yaml
- include/i18n/en_US/templates/email/message.alert.yaml 34 additions, 0 deletionsinclude/i18n/en_US/templates/email/message.alert.yaml
- include/i18n/en_US/templates/email/message.autoresp.yaml 24 additions, 0 deletionsinclude/i18n/en_US/templates/email/message.autoresp.yaml
Loading
Please register or sign in to comment