Preparing a datamodel for internationalisation / localisation

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Preparing a datamodel for internationalisation / localisation
# 1  
Old 11-23-2012
Preparing a datamodel for internationalisation / localisation

I have a database that should ultimately be included in a reporting engine. This will be a point-and-click setup whereby the user selects columns to include in the report and the users can run and save the report-script themselves. Users will have affinity with the data, but we want to design the system so that it becomes clear in the user interface what the user is selecting. To that end we want to use the column_comment feature in MySQL.

We add column comments as follows:
Code:
ALTER TABLE productprices CHANGE price price FLOAT COMMENT 'price of a product at any given moment'

Given the flat nature of a database, this does not allow for expressions. For example, we would want to prepare the database for translations (localisation), that would in procedural languages be done using gettext for example. What would be the best way to maintain translations of column comments?
# 2  
Old 11-26-2012
On an early version of a utility CIS in oracle 6, we had to have separate schemas - One for Spanish, another for English. There too many side effects otherwise.

We published two data dictionaries one for Spanish, one for English, to a special set of tables we used for prompting. We did not use comments. We used two sets of synonyms that had descriptive table and field names. Base sql code was unaffected by this.

I am sure this is not what you wanted to hear.
# 3  
Old 11-27-2012
Thank you for your response. We thought it was going to go that way. It looks like the work load for both development and changes is not going to be affected by this all that much, even if expressions were allowed.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Using localisation of a Perl package

I have a Perl package, which is widely used and tested, but recently a version in another language was added. The relevant po-files have been reviewed for this and are ready for testing. What are the steps to select the language by the user? From my understanding the language environment variable... (3 Replies)
Discussion started by: figaro
3 Replies

2. Shell Programming and Scripting

Preparing a list of spawned processes

Hi All I'm currently trying to develop a script which will find the child processes of a process ID already passed to the script. I then need the script to look for spawned processes of these child processes and so on until it can't find any more. For example At the moment, I have to... (6 Replies)
Discussion started by: huskie69
6 Replies

3. AIX

AIX Monitoring Tool - under preparing

Guy's AIX Monitoring Tool - under preparing ..... I'm working to make and prepare tool to monitor AIX system and my idea it's based on the following outputs I want command to give me shout outpous about the following ... CPU load Memory load Used load Number of... (5 Replies)
Discussion started by: Mr.AIX
5 Replies

4. UNIX for Dummies Questions & Answers

Resources for preparing exam certification

I had install Sun Solaris 10 in my virtual machine. Anyhow I still very limitation knowledge how to operate it. Would like to search for help somemore could assist me how could I get the resources by free for me to learn and prepare myself for sitting the Sun cerfitication exam? Please help and... (3 Replies)
Discussion started by: jimmyysk
3 Replies

5. UNIX for Dummies Questions & Answers

Script for reading filelist and preparing param file.

Hi All, Not sure if this would be in a dummies sectiin or advanced. I'm looking for a script if someone has doen something like this. I have list of files - adc_earnedpoints.20070630.txt adc_earnedpoints.20070707.txt adc_earnedpoints.20070714.txt adc_earnedpoints.20070721.txt... (2 Replies)
Discussion started by: thebeginer
2 Replies

6. Linux

Documentation for preparing RHCE certification

Hi all, Could someony give me a link to download a document for preparing linux RHCE certification? Regards, Tovo (0 Replies)
Discussion started by: tovohery
0 Replies

7. UNIX for Advanced & Expert Users

preparing veritas exams using nextcertify.com ?

how good are nextcertify.com preps for veritas exams ? . i look forward to yoiur responses (1 Reply)
Discussion started by: rendu
1 Replies

8. Solaris

book for preparing exam ?

dear solaris group, whitch are the best book for study admin 1 + 2 on solaris 9 to prepare for the exam of admin 1 & 2 best regards Maurizio (2 Replies)
Discussion started by: mauric
2 Replies
Login or Register to Ask a Question