Expected Behavior
Translation should be based on system setting
Current Behavior
Translation is reverted to English as default
Screenshots
Possible Solution
In file application/helpers/trans_helper.php
Replace line 37:
$current_language = 'english';
with:
$current_language = get_setting('default_language') ?? 'english';
Steps to Reproduce
Context (Environment)
In a PDF-template for an invoice the first strings will be properly translated, however after one point, (for an unknown reason) it will revert to English. After this, all other string will be English.
Detailed Description
Possible Implementation
Failure Logs
Expected Behavior
Translation should be based on system setting
Current Behavior
Translation is reverted to English as default
Screenshots
Possible Solution
In file application/helpers/trans_helper.php
Replace line 37:
$current_language = 'english';with:
$current_language = get_setting('default_language') ?? 'english';Steps to Reproduce
Context (Environment)
In a PDF-template for an invoice the first strings will be properly translated, however after one point, (for an unknown reason) it will revert to English. After this, all other string will be English.
Detailed Description
Possible Implementation
Failure Logs