Translations directory should be renamed

jpfle - March 16, 2009 - 14:44
Project:Table of Contents
Version:6.x-2.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

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

#1

deviantintegral - March 18, 2009 - 20:34
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

System Message - April 1, 2009 - 20:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.