Using Squirrelmail locale repository for a plugin

View: New views
7 Messages — Rating Filter:   Alert me  

Using Squirrelmail locale repository for a plugin

by Alexandros Vellis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can I, as a _plugin_ developer, make use of Squirrelmail locales
repository?

I'm thinking of making squirrelmail locales svn the authoritative place
for useracl.po files. In fact, squirrelmail locales svn has more
translations for it what what I had in my useracl svn tree.

Shall I move these files from LC_MESSAGES/plugins/ to LC_MESSAGES/ so
that they will be included in new locales distributions? Or is there
something else to it?

Alexandros

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel

Re: Using Squirrelmail locale repository for a plugin

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jul 22, 2008 at 11:27 PM, Alexandros Vellis <avel@...> wrote:
> Can I, as a _plugin_ developer, make use of Squirrelmail locales
> repository?
>
> I'm thinking of making squirrelmail locales svn the authoritative place
> for useracl.po files. In fact, squirrelmail locales svn has more
> translations for it what what I had in my useracl svn tree.

That's the way it should be, since we have been asking plugin authors
NOT to manage their own translations for a few years now.

> Shall I move these files from LC_MESSAGES/plugins/ to LC_MESSAGES/ so
> that they will be included in new locales distributions? Or is there
> something else to it?

To date, Fredrik has committed the pot files and any translations that
come along, but you are probably welcome to do it yourself as long as
you can figure out which part of the repository is the right one to
put things into (seems like it's been a bit convoluted and has been in
the process of being sorted out over the last year).

Fredrik surely can talk more authoritatively about the sordid details.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel

Re: Using Squirrelmail locale repository for a plugin

by Fredrik Jervfors-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Can I, as a _plugin_ developer, make use of Squirrelmail locales
> repository?

Yes, please do.

> I'm thinking of making squirrelmail locales svn the authoritative place
> for useracl.po files. In fact, squirrelmail locales svn has more
> translations for it what what I had in my useracl svn tree.

Sweet! Do you have anything that isn't in the SquirrelMail repository?

> Shall I move these files from LC_MESSAGES/plugins/ to LC_MESSAGES/ so
> that they will be included in new locales distributions? Or is there
> something else to it?

DEVEL has "sq_change_text_domain()" for switching back and forth from/to
plugin translations. For STABLE use "SM_PATH . 'locale/'" as the preferred
path for the translations.

http://squirrelmail.org/docs/devel-code/squirrelmail/i18n/_include---languages.php.html#functionsq_change_text_domain

Sincerely,
Fredrik

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel

Re: Using Squirrelmail locale repository for a plugin

by Alexandros Vellis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 23 Jul 2008 08:38:05 +0200 (CEST)
"Fredrik Jervfors" <jervfors@...> wrote:

> > I'm thinking of making squirrelmail locales svn the authoritative
> > place for useracl.po files. In fact, squirrelmail locales svn has
> > more translations for it what what I had in my useracl svn tree.
>
> Sweet! Do you have anything that isn't in the SquirrelMail repository?

I'll have to take a look in case there is e.g. an avelsieve translation
that isn't there. I'll migrate them all over to Squirrelmail repository.
I'll start out with useracl.


 
> > Shall I move these files from LC_MESSAGES/plugins/ to LC_MESSAGES/
> > so that they will be included in new locales distributions? Or is
> > there something else to it?
>
> DEVEL has "sq_change_text_domain()" for switching back and forth
> from/to plugin translations. For STABLE use "SM_PATH . 'locale/'" as
> the preferred path for the translations.

OK. I'll move the files shortly.

Alexandros

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel

Re: Using Squirrelmail locale repository for a plugin

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jul 22, 2008 at 11:38 PM, Fredrik Jervfors
<jervfors@...> wrote:

>> Can I, as a _plugin_ developer, make use of Squirrelmail locales
>> repository?
>
> Yes, please do.
>
>> I'm thinking of making squirrelmail locales svn the authoritative place
>> for useracl.po files. In fact, squirrelmail locales svn has more
>> translations for it what what I had in my useracl svn tree.
>
> Sweet! Do you have anything that isn't in the SquirrelMail repository?
>
>> Shall I move these files from LC_MESSAGES/plugins/ to LC_MESSAGES/ so
>> that they will be included in new locales distributions? Or is there
>> something else to it?
>
> DEVEL has "sq_change_text_domain()" for switching back and forth from/to
> plugin translations. For STABLE use "SM_PATH . 'locale/'" as the preferred
> path for the translations.

No, STABLE has sq_change_text_domain() too.  It's had it since 1.4.10.
 Plugin authors should be using it no matter what - the Compatibility
plugin will handle it for versions prior to 1.4.10.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel

Re: Using Squirrelmail locale repository for a plugin

by Fredrik Jervfors-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> Can I, as a _plugin_ developer, make use of Squirrelmail locales
>> repository?
>>
>> I'm thinking of making squirrelmail locales svn the authoritative place
>>  for useracl.po files. In fact, squirrelmail locales svn has more
>> translations for it what what I had in my useracl svn tree.
>
> That's the way it should be, since we have been asking plugin authors
> NOT to manage their own translations for a few years now.

I'm about to update some of the documentation about translations, but
don't hold your breath.

>> Shall I move these files from LC_MESSAGES/plugins/ to LC_MESSAGES/ so
>> that they will be included in new locales distributions? Or is there
>> something else to it?
>
> To date, Fredrik has committed the pot files and any translations that
> come along, but you are probably welcome to do it yourself as long as you
> can figure out which part of the repository is the right one to put things
> into (seems like it's been a bit convoluted and has been in the process of
> being sorted out over the last year).
>
> Fredrik surely can talk more authoritatively about the sordid details.

"trunk/locales/po/" for the templates when having the translations in
"locale" and "trunk/locales/locale/[language code]/LC_MESSAGES/" for the
translations.

Sincerely,
Fredrik

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel

Re: Using Squirrelmail locale repository for a plugin

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jul 22, 2008 at 11:50 PM, Fredrik Jervfors
<jervfors@...> wrote:

>>> Can I, as a _plugin_ developer, make use of Squirrelmail locales
>>> repository?
>>>
>>> I'm thinking of making squirrelmail locales svn the authoritative place
>>>  for useracl.po files. In fact, squirrelmail locales svn has more
>>> translations for it what what I had in my useracl svn tree.
>>
>> That's the way it should be, since we have been asking plugin authors
>> NOT to manage their own translations for a few years now.
>
> I'm about to update some of the documentation about translations, but
> don't hold your breath.
>
>>> Shall I move these files from LC_MESSAGES/plugins/ to LC_MESSAGES/ so
>>> that they will be included in new locales distributions? Or is there
>>> something else to it?
>>
>> To date, Fredrik has committed the pot files and any translations that
>> come along, but you are probably welcome to do it yourself as long as you
>> can figure out which part of the repository is the right one to put things
>> into (seems like it's been a bit convoluted and has been in the process of
>> being sorted out over the last year).
>>
>> Fredrik surely can talk more authoritatively about the sordid details.
>
> "trunk/locales/po/" for the templates when having the translations in
> "locale" and "trunk/locales/locale/[language code]/LC_MESSAGES/" for the
> translations.

That's too straight-forward.  :-)  Weren't there questions about how
branches were being maintained separately, etc?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
LightInTheBox - Buy quality products at wholesale price