Rename 'po' directory to 'translations'
Gábor Hojtsy - June 9, 2007 - 16:30
| Project: | Drupal |
| Version: | 6.x-dev |
| Component: | language system |
| Category: | task |
| Priority: | normal |
| Assigned: | Gábor Hojtsy |
| Status: | closed |
Jump to:
Description
I had some discussion with my Google SoC mentors about packaging translations for Drupal 6. Konstantin Käfer suggested that we should rename the too technical 'po' directory to 'translations', so Drupal core would expect translations in this directory from now on.
My summer of code project includes decoupling translations from module/theme projects, so the de-facto 'po' directory used there will not be directly there in the projects (will only be packaged into that location at some point), so I can code the new 'translations' directory name to the packaging script. That should open up the door for the more friendly named 'translations' directories.
Patch attached.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| po_to_translations.patch | 2.32 KB | Ignored | None | None |

#1
+1 on the name. This is far less obscure than po.
One comment: if this is going to affect all the directories called po for all modules, then perhaps a CVS backend script can be used so as not to lose the history from the repository. This would copy the ,v files.
#2
Indeed this is supposed to be (will be :) coupled with http://drupal.org/node/105986 which essentially reorganizes the translations way more than just renaming the directories in CVS from po to translations.
#3
Works for me! :)
#4
OK, committed the change. I am onto fixing this for contributions as part of my SoC project, so it is taken care of.
#5