phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[phpGroupWare-developers] Proposal for method of using application-relat


From: Sigurd Nes
Subject: [phpGroupWare-developers] Proposal for method of using application-related translation
Date: Fri, 8 Feb 2008 18:24:04 +0100 (MET)

Hi all.

As you probably are aware of - there is a new menu system in HEAD.
The menu items are collected from all applications in one operation and cached 
for later use.

However there is one issue concerning translation:

There is a lot of menu items (the app property has about 110 of it's one) - and 
message_id's are bound to conflict across applications if all are placed in 
'common'.

as an example - 'project' does not have the same translation in the app project 
as in the app property.

This problem (I think) is only true for the menu-translations.
a simple workaround is to allow to ask for translations from a specific 
application.
There is already a flag for this- but it is a boolean - and only forces to 
check for 'common'.
What I propose - it to alter this from a bolean to a string - allowing asking 
for translations for an application as well.

The function is tested at the ReSight project and performs as intended, works 
for both shm and non-shm enabled environment.

See attachment

How about it ?

Regards

Sigurd

Attachment: function_translate.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]