Closed (duplicate)
Project:
Drupal core
Version:
6.x-dev
Component:
database system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2007 at 16:12 UTC
Updated:
29 Mar 2007 at 15:03 UTC
This issue is splitted from the RTL API decisions on the the general core language direction (RTL) support discussion.
After review, it was decided to add the language direction information to the locales_meta table.
I suggest to add a general field named 'data' field in order to allow future properties as well. The locales_meta.data field should have the same format as users.data.
Please add the field to the locales_meta table, as well as to the upgrade and install scripts (if needed).
Thanks
Amnon
Comments
Comment #1
druvision commentedComment #2
druvision commentedThe field will be used by the Language direction API
Comment #3
druvision commentedOn a second thought, after reading Budapest internationalization meeting findings, I would stay with the 'direction' field since it's easier for module writers to use without needing a special conversion function.
Comment #4
gábor hojtsyDrupal 6.x-dev now has support for directions, the global $language objects has a direction property, which can be used throughout the page building process. We put the $language detection as early as possible, so as many components can build on it as required.