Download & Extend

Translations directory should be renamed

Project:Table of Contents
Version:6.x-2.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,

The translations directory is named "po", but it should be renamed "translations". See http://drupal.org/node/114774#translations_directory

Translations are looked for in ./translations

Previously, there was a convention of putting .pot and .po files for translations under each module's and theme's ./po subdirectory. Although this was just a common convention, and only Autolocale module was dependent on it, Drupal 6 includes most of Autolocale's functionality and for user friendliness renamed the directory to ./translations. Modules and themes should have their translation templates and translations under the ./translations directory, so that Drupal 6 imports them automatically.

Also, I attach a tableofcontents-module.pot file.

AttachmentSize
tableofcontents-module.pot5.23 KB

Comments

#1

Status:needs review» fixed

Thanks. I've committed the changes to the Drupal 6 version, but didn't rename the directory for Drupal 5. The .pot file is added to both branches.

#2

Status:fixed» closed (fixed)

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