I just downloaded de-4.7.x-1.x-dev.tar.gz and found the README.txt empty.
I guess that was done by mistake?
joz

Comments

kkaefer’s picture

Title: README.txt empty » README.txt for translations is empty
Project: German translation » Project
Version: 4.7.x-1.0 » 4.7.x-2.x-dev
Component: Miscellaneous » Releases
Category: task » bug

As far as I remember, translation releases had a README.txt file with information on how to import the translation. I checked some tarballs, but all of them contained an empty README.txt. It is possible that this got messed up during the transition to the new release system.

But actually, it would be better if the packaging script would take the README.txt from the CVS repository (there are no readme files atm, afaik) which are in the actual language.

hunmonk’s picture

Version: 4.7.x-2.x-dev » 5.x-1.x-dev

this is still a problem. perhaps dww can take a look at the packaging scripts to see what's up here...

gábor hojtsy’s picture

Status: Active » Closed (duplicate)

http://drupal.org/node/207401 deals with solving this for both D5 and D6 translations.

gábor hojtsy’s picture

Title: README.txt for translations is empty » STATUS.txt for translations is empty
Status: Closed (duplicate) » Active

Now renamed STATUS.txt in 5.x and named STATUS.$uri.txt in Drupal 6. Still needs to be solved, the patch at http://drupal.org/node/207401 did not solve it.

dww’s picture

Indeed, it's totally bizarre that these files are empty. There's clear evidence that msgfmt is being called during packaging, and running it on the command line works. All I can think of that might be causing trouble here is the way we're trying to capture stderr and redirect/append it to a file? Oh, yeah, duh... check it out:

function drupal_exec($cmd) {
  exec("$cmd 2>&1", $output, $rval);
  ...
}

vs.

drupal_exec("$msgfmt --statistics $uri/$uri.po 2>> $uri/STATUS.txt")

:(

dww’s picture

Assigned: Unassigned » dww

I guess I'll roll a patch for this...

dww’s picture

Status: Active » Needs review
StatusFileSize
new1.48 KB
new2.22 KB

Attached patch fixes the empty files. However, the resulting information isn't particularly readable or helpful, especially for a D6 translation. Here's an example, the STATUS.fr.txt file from the 6.x-1.x-dev fr translation.

gábor hojtsy’s picture

Assigned: dww » gábor hojtsy
Status: Needs review » Needs work

Taking on doing implementation for more meaningful status information, such as http://drupalbin.com/540 Will only have time to solve it later this week.

drumm’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)

Project module is no longer involved in translation packaging.