Ticket #1826 (closed Bugs: fixed)

Opened 2 years ago

Last modified 1 year ago

Translation broken in left menus when some modules are enabled

Reported by: cpawelko Assigned to:
Priority: minor Milestone: 2.3
Component: Languages / Translation Version: 2.3-branch
Keywords: menu language gettext Cc:
Confirmation: Pending SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

I have this bug on ubuntu 6.06 / apache 2 / php5 / freepbx 2.2.1 :

  • Install freepbx, don't enable any module
  • Choose an language (French for me)
  • The left menu is in french (Administrateurs, Reglages globaux, etc ...)
  • Enable "Music on hold menu"
  • The left menu is now in english (Administrators, Global Settings, etc...)

The bug seems to be in admin.php line 113 ("if the module has it's own translations, use them for displaying menu item"). When I disable the "if (is_dir("modules/{$key}/i18n"))" block, menu's language is correct.

Change History

06/25/07 05:01:35 changed by p_lindheimer

  • version changed from 2.2.1 to 2.3-branch.

07/19/07 12:45:00 changed by fameal

It happens because modules does not have every language in its i18n/ directory. I bringing a tip, i 've not figured out how to solve it.

08/01/07 17:02:30 changed by p_lindheimer

a bunch of the left nav menu management has changed. Is this still an issue?

08/04/07 05:21:12 changed by p_lindheimer

  • confirmation set to Need Feedback.
  • milestone changed from 2.2 to 2.3.

08/04/07 17:56:03 changed by p_lindheimer

  • confirmation changed from Need Feedback to Pending.

I assume admin.php line 112 is now roughly config.php line 122 - can't make process reviewing this as translations appear to be currently broken #2216

08/05/07 07:36:28 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

r4707
Fixed back to where it was, I think this issue is addressed as much as it can now. If not, and there are ideas based on the new changes, then reopen and present them please. The overall language architecture, after some review, clearly needs some improvement - will start that plan elsewhere.

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads