The Drupal-6 drupal-pot README file writes:

The following placement will be used
by the packager based on the template file set in this directory:

- general.pot, root.pot, includes.pot, misc.pot and modules-system.pot
translations to modules/system/translations

Currently general..po and install..po are exported in the wrong directory. Only after correcting the location of these files the Drupal interface was completely translated.

Comments

gábor hojtsy’s picture

Status: Active » Postponed (maintainer needs more info)

- How is an install.po generated at all? What does that contain?
- what's up with other files like misc.po and includes.po?

sutharsan’s picture

Install.po is part of the exported file from the l10n-server (Project: Drupal; release: RC2; Type: translation; format: drupal 6).
You can export a file yourselves at: http://l10n.krimson.be/index.php?q=translate/languages/nl/export and see the content.
misc.po and modules-system.po are not part of the exported file. includes.po is exported as /includes/translations/includes.nl.po while is should be /modules/system/includes.nl.po

sutharsan’s picture

Status: Postponed (maintainer needs more info) » Active
gábor hojtsy’s picture

Hm, well, there should be a misc.po as well with 10 strings (from JavaScript files).

sutharsan’s picture

Ok, I've overlooked the misc.nl.po and modules-system.nl.po files. The complete picture is now:

In the export file:
* translations/general.nl.po
* includes/translations/includes.nl.po
* misc/translations/misc.nl.po
* modules/system/translations/modules-system.nl.po

According to the README.txt is should be:
* modules/system/translations/general.nl.po
* modules/system/translations/includes.nl.po
* modules/system/translations/misc.nl.po
* modules/system/translations/modules-system.nl.po

No root.pot exists in the drupal-pot, so currently we can ignore this.

gábor hojtsy’s picture

Status: Active » Postponed (maintainer needs more info)
StatusFileSize
new209.93 KB

All right, just committed an untested export fix, which should fix this for Drupal core and should not have any side effects for other exports. Please update to the latest development version and report back as soon as possible, so I can alter the export as intended.

Basically, a translation should have the structure of the attached package. If the package generated by l10n_server is not like this, then we still need to fix something.

meba’s picture

Status: Postponed (maintainer needs more info) » Needs work

Sorry, didn't work :(

Checked with:

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r DRUPAL-5 contributions/modules/l10n_server

Then exported and installed Drupal. Many strings still left untranslated. After exporting in a flat file and importing, voila...

P.S.: I wonder - do we need this? Is this used as a packager on drupal.org or just committing the code to drupal.org will create correct package?

meba’s picture

StatusFileSize
new202.62 KB

My tar.gz

gábor hojtsy’s picture

Status: Needs work » Fixed

Just committed a fix of a typo in my fix in the afternoon, which fixed this according to meba.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.