phpgroupware-developers
[Top][All Lists]
Advanced

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

Re: [phpGroupWare-developers] Proposal for method of using application-r


From: Sigurd Nes
Subject: Re: [phpGroupWare-developers] Proposal for method of using application-related translation
Date: Sat, 09 Feb 2008 16:16:19 +0100
User-agent: Thunderbird 2.0.0.9 (X11/20080207)

Dave Hall wrote:
> On Sat, 2008-02-09 at 15:46 +0100, Sigurd Nes wrote:
>> Dave Hall wrote:
>>> As I have explained to you in the past the translation policy is the
>>> following:
>>>
>>> * if it is module specific it goes in the module lang file
>>> * if it is used in a common area such as admin, preferences, navbar (and
>>> now anywhere in the menu) it goes in common
>> Why can't items from the menu go into the module lang file ?
> 
> They do go into the module lang file.
> 
> Here is a quick 4 line example of what can be found in the module lang
> file (I chose calendar as it is one I maintain).
> 
> calendar/setup/phpgw_en.lang
> calendar        common  en      Calendar
> calendar - add  calendar        en      Calendar - Add
> calendar - edit calendar        en      Calendar - Edit
> [...]
> custom fields and sorting       common  en      Custom fields and sorting
> 
I know it do go into the module lang file - let me rephrase:
Why can't it go into the app-section of the lang file?

>> My perception of loading all into common - is that it will constraint
>> all later development of applications to come - 'cause one have to
>> check whether
>> the message_ids already are used in any of the other applications.
> 
> It isn't an issue which has come up in the past.  I think you will find
> that the phrases used in common are pretty generic.

I disagree on that - and don't think such constraint should be forced.

> 
> OT: I think some consolidation of the lang files is needed.  There is a
> lot of stuff which really should be in phpgwapi/setup/phpgw_*.lang as
> common instead of in 5+ lang files as module specific.
> 

Sure - I agree, when we got the time and/or resources for it.

Regards

Sigurd




reply via email to

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