Gabor Hojtsy wrote:
> I am in the process of implementing autolocale module, as you might
> already know (by reading the development list). This module now nicely
> imports PO files in install time and can import PO files later for all
> enabled components (modules/themes) with an optional database cleanup.
>
> The next (and for basic operation the last) step is to automatically
> import PO files for modules/themes enabled on the admin interface.
I have looked into the module/theme handling code, found two bugs which
I fixed, and introduced the new hook_system_notify(). I would very
welcome every reviewer who comes around at this time of the year
(instead of preparing for the new year's eve parties, which I am lucky
enough to get done by someone else :).
http://drupal.org/node/105937
This would be a crucial step for localized install profiles in Drupal 5,
so I would like to get this in. Please review!
Gabor
Hi All,
I have been working on an automatic locale file import module, so that we
can provide install profiles which automatically import the PO files for
modules enabled, without any user intervention (turn on locale module, add
language, file upload).
The alpha quality code works, imports all PO files I have thrown at it. I
have left two debug messages in the code, because I experienced very
interesting database behaviour while testing the code, and would
appreciate your feedback.
Project here with CVS link: http://drupal.org/project/autolocale
My problem is that although I do a SELECT on the system table and go
through that list sequentially I get:
# Handling themes/engines/phptemplate/phptemplate.engine
# Handling themes/garland/page.tpl.php
# Handling modules/system/system.module
# Importing modules/system/po/general.hu.po
# Importing modules/system/po/system-install.hu.po
# Importing modules/system/po/system-module.hu.po
# Handling themes/engines/phptemplate/phptemplate.engine
# Handling themes/garland/page.tpl.php
# Handling modules/system/system.module
# Importing modules/system/po/general.hu.po
# Importing modules/system/po/system-install.hu.po
# Importing modules/system/po/system-module.hu.po
# Handling modules/autolocale/autolocale.module
# Handling modules/block/block.module
# Handling modules/color/color.module
# ....
Seems like it does go through the phptemplate engine, the garland theme
and the system module twice. I have absolutely no idea why it would do
this, since these appear in the database only once.
I would appreciate if someone would be able to test and provide tips. This
module/install profile would invalidate the need to merge the smaller PO
files used by translators and really only import needed strings finally. I
am going to beta test the concept with the Hungarian translation if the
above issue can be resolved.
Have a merry christmas,
Gabor (who is now off to christmas dinner :)
I figured I'd forward this request.
Begin forwarded message:
> From: thanhhai <infrastructure(a)drupal.org>
> Date: Tue 26 Dec 2006 05:29:25 GMT+01:00
> To: infrastructure(a)drupal.org
> Subject: [infrastructure] [Drupal.org maintenance task] ownership
> of vietnamese translation?
> Reply-To: "Drupal.org Infrastructure Maintainers"
> <infrastructure(a)drupal.org>
>
> Issue status update for
> http://drupal.org/node/105198
> Post a follow up:
> http://drupal.org/project/comments/add/105198
>
> Project: Drupal.org maintenance
> Version: <none>
> Component: cvs
> Category: tasks
> Priority: normal
> Assigned to: Anonymous
> Reported by: thanhhai
> Updated by: thanhhai
> Status: active
>
> I mentioned the project named *Vietnamese translation* listed here
> http://drupal.org/project/vi This project was created a month ago
> without any release. The correct locale code for Vietnamese is /vi/
> so I
> assumed the project named *Vietnamese* is not about Vietnamse
> translation and I did not take a look at it. Because of project
> duplication, would you please merge 2 projects into one and create
> valid
> vi directory in CVS? Thanks.
>
>
> Kind regards,
> Thanh Hai, Ha.
>
>
>
>
> thanhhai
>
>
>
> Previous comments:
> ----------------------------------------------------------------------
> --
>
> Mon, 25 Dec 2006 19:37:39 +0000 : thanhhai
>
> Hello,
>
>
> I have almost finished the translation of Drupal to Vietnamese and I
> wish to contribute parts of my work to the community. I've tried to
> create a new project but there is an existing project named Vietnamese
> translation and I don't know how to submit my .po files (could not
> find
> the vi folder under contributions/translation). The project maintainer
> of this project seems to be inactive and I could not find any
> translation information from the project page. For better
> contribution,
> I need you transfer the maintainer role of this orphaned project to
> me.
> My CVS account is thanhhai.
>
>
> Thank you for you time.
>
>
> Best regards,
> Thanh Hai, Ha.
>
>
>
>
> ----------------------------------------------------------------------
> --
>
> Mon, 25 Dec 2006 21:57:20 +0000 : dww
>
> there seems to be confusion here...
>
>
> http://drupal.org/project/vietnamese exists
> (http://drupal.org/node/103917)
> it was just created a few weeks ago, so i find it hard to believe it's
> already abandoned/orphaned.
>
>
> however, it's got the wrong shortname and is pointing to the wrong
> directory in CVS. instead of "vietnamese", it should just be "vt"
> (assuming that's the right country code).
>
>
> seems like you and thehong [1] need to talk and figure out what's
> going
> on. either one of you could own the project node, the other could be
> granted CVS access, and then both of you would be able to update the
> project node, make changes, etc. since it's a translation, anyone
> with
> a CVS account can already commit to the (still non-existant)
> contributions/translations/vt directory...
>
>
> anyway, the two of you should sort it out. once you have a plan, just
> follow-up here and i'd be happy to help with whatever node ownership
> transfer (if any) needs to happen.
>
>
> cheers,
> -derek
>
>
> [1] http://drupal.org//user/84886
>
>
>
>
> --
> [ infrastructure | http://lists.drupal.org/listinfo/infrastructure ]
--
Dries Buytaert :: http://www.buytaert.net/
>>Is it possible that you selected 'daily digest' instead of receiving
>>each mail in your mailing list preferences?
>>
>>Konstantin Käfer – http://kkaefer.com/
Thank you Konstantin,
I saw that 'daily digest' during registration but not in the configuration page. I guess it should be 'Set Digest Mode' and it already set to 'On'. Maybe I don't wait long enough :)
I've just set 'Do you want to receive messages that do not match any topic filter?' to 'Yes'. I want to see what happen.
_____________________________________________________________
BootBox.Net - Your Home on the Internet
http://www.bootbox.net
Get an @bootbox.net webmail account - http://webmail.bootbox.net
Get Dialup Internet Access for only $8.95/mo
http://isp.bootbox.net
Host Your Website For Free- http://webhosting.bootbox.net
Put Your E-Commerce Business Online Virtually Free - http://bcommerce.bootbox.net
My earlier and the very first post was in html format. I didn't realize that I've to do it with plain text. If you can read this than I've done it correctly. Otherwise I cannot post message using bootbox.net.
My earlier message:
I'm starting a Malay translation for Drupal 5. I wonder if anybody else is doing the same. It will be nice to join efforts. BTW Indonesian and Malay have many similarities.
http://chelah.cara-cerna.com
_____________________________________________________________
BootBox.Net - Your Home on the Internet
http://www.bootbox.net
Get an @bootbox.net webmail account - http://webmail.bootbox.net
Get Dialup Internet Access for only $8.95/mo
http://isp.bootbox.net
Host Your Website For Free- http://webhosting.bootbox.net
Put Your E-Commerce Business Online Virtually Free - http://bcommerce.bootbox.net
Hi,
Following on the release announcement of Drupal 5.0 RC1
(http://drupal.org/drupal-5.0-rc1) I have generated the translation
templates of this release for all of us to enjoy and work on to make our
translations compatible with Drupal 5.0 once it gets released.
As the release announcement says:
It's time to blow the dust off your dictionaries! With all the user
interface strings frozen, you can start the translation, without fear
you need to redo the work later.
Small string changes are still possible, but not likely (as Dries said a
few days ago).
You can grab the templates from CVS:
http://cvs.drupal.org/viewcvs/drupal/contributions/translations/drupal-pot/…
Alternatively, development snapshots of this branch will be available
later today on drupal.org: http://drupal.org/node/103435
Gabor
Hello translators,
due to some bugs in Drupal and the extractor script, certain strings
were not included in the translation or did not work properly.
The issues are:
- http://drupal.org/node/45453 -- String freeze: description for the
username field is a bit misleading
- http://drupal.org/node/103519 -- Install doesn't allow "." in db
prefix for psql sch
- http://drupal.org/node/103784 -- Fix misuse of format_plural() in
multiple places
- http://drupal.org/node/103785 -- Try to fix blog module confusion
by proper module description
- http://drupal.org/node/103811 -- Replace %url placeholder with @url
- http://drupal.org/node/103824 -- extractor.php generates from time
interval template
- http://drupal.org/node/103826 -- Welcome page is not translateable
- http://drupal.org/node/103864 -- Color picker does not work because
PHP memory too small -> wrong link in error message
- http://drupal.org/node/103937 -- Dropdown list items on mass user
editing page not translated
- http://drupal.org/node/103946 -- Broken string: ' Character is
escaped in the wrong way
- http://drupal.org/node/103969 -- Fix permission names in
path.module help text
More will probably follow as translators discover bugs.
These are all very tiny fixes (except for the welcome page which was
completely untranslateable before) so they should be done quickly
once new translation templates are available (i.e. when all issues
are resolved).
Konstantin Käfer – http://kkaefer.com/
Hello translators,
I wrote a script that checks all the placeholders in old translations
and converts them to the appropriate character (!, % or @).
The script can be found at http://cvs.drupal.org/viewcvs/*checkout*/
drupal/contributions/tricks/update-placeholders.php
Copy the script to your translation files and execute:
for i in *.po ; do php update-placeholders.php $i ; done
Be sure to make a backup of all your files and check them after the
conversion. I don't guarantee for anything.
Konstantin Käfer – http://kkaefer.com/