Database design problem for multiple language application

Hi All,
We are working on a travelling portal and for a traveling portal its content and details are the heart.we are planning to have it in multiple locale so this means we need to handle the dynamic data for each locale.
currently we have following tables
Destination
Transport
Places of Interests
user comments etc.
each table contains a lot of fields like
Name
ShortDescription
LongDescription
and many other fields which can contains a lot of data and we need to handle data in locale specific way.
i am not sure how best we can design an application to handle this case,one thing came to my mind is like putting extra column for each locale in each table but that means for a new locale things needs to be changed from database to code level and that is not good at all.
Since each table contains a lot of columns which can contain data eligible for internationalization so my question is what might be the best way to handle this case
After doing some analysis and some goggling one approach that came to my mind is as below..
i am planning to create a translation table for each table,like for destination i have the following design
table languages
-- uuid (varchar)
-- language_id(varchar)
-- name (varchar)
table Destination
--uuid (varchar)
other fields which are not part of internationalization.
table Destination_translation
-- id (int)
-- destination_id (int)
-- language_id (int)
-- name (text)
-- description(text)
Any valuable suggestion for above mentioned approach are most welcome...

This approach sounds reasonable - it is the same approach used by Oracle Applications (Oracle ERP software). It de-normalizes information into two tables for every key object - one contains information that is not language sensitive and the other contains information that is language sensitive. The two tables are joined by a common internal id. Views are then created for each language that join these tables based on the common id and the language id column in the second table.
HTH
Srini

Similar Messages

  • SIMPLE Database Design Problem !

    Mapping is a big problem for many complex applications.
    So what happens if we put all the tables into one table called ENTITY?
    I have more than 300 attributeTypes.And there will be lots of null values in the records of that single table as every entityType uses the same table.
    Other than wasting space if I put a clustered index on my entityType coloumn in that table.What kind of performance penalties to I get?
    Definition of the table
    ENTITY
    EntityID > uniqueidentifier
    EntityType > Tells the entityTypeName
    Name >
    LastName >
    CompanyName > 300 attributeTypes
    OppurtunityPeriod >
    PS:There is also another table called RELATION that points the relations between entities.

    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    check the coloumn with WHERE _entityType='PERSON'
    as there is is clustered index on entityType...there
    is NO performance decrease.
    there is also a clustered index on RELATION table on
    relationType
    when we say WHERE _entityType ='PERSON' or
    WHERE relationType='CONTACTMECHANISM'.
    it scans the clustered index first.it acts like a
    table as it is physically ordered.I was thinking in terms of using several conditions in the same select, such as
    WHERE _entityType ='PERSON'
      AND LastName LIKE 'A%' In your case you have to use at least two indices, and since your clustered index comes first ...
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Have you ever thought of using constraints in your
    modell? How would you realize those?
    ...in fact we did.We have arranged the generic object
    model in an object database.The knowledge information
    is held in the object database.So your relational database is used only as a "simple" storage, everything has go through your object database.
    But the data schema is held in the RDBMS with code
    generation that creates a schema to hold data.If you think that this approach makes sense, why not.
    But in able to have a efficent mapping and a good
    performance we have thought about building only one
    table.The problem is we know we are losing some space
    but the thing is harddisk is much cheaper than RAM
    and CPU.So our trade off concerated on the storage
    cost.But I still wonder if there is a point that I
    have missed in terms performance?Just test your approach by using sufficiently data - only you know how many records you have to store in your modell.
    PS: it is not wise effective using generic object
    models also in object databases as CPU cost is a lot
    when u are holding the data.I don't know if I'd have taken your approach - using two database systems to hold data and business logic.
    PS2: RDBMS is a value based system where object
    databases are identity based.we are trying to be in
    the gray area of both worlds.Like I wrote: if your approach works and scales to the required size, why not? I would assume that you did a load test with your approach.
    What I would question though is that your discussing a "SIMPLE Database Design" problem. I don't see anything simple in your approach when it comes to implementation.
    C.

  • LDAP design question for multiple sites

    LDAP design question for multiple sites
    I'm planning to implement the Sun Java System Directory Server 5.2 2005Q1 for replacing the NIS.
    Currently we have 3 sites with different NIS domains.
    Since the NFS over the WAN connection is very unreliable, I would like to implement as follows:
    1. 3 LDAP servers + replica for each sites.
    2. Single username and password for every end user cross those 3 sites.
    3. Different auto_master, auto_home and auto_local maps for three sites. So when user login to different site, the password is the same but the home directory is different (local).
    So the questions are
    1. Should I need to have 3 domains for LDAP?
    2. If yes for question 1, then how can I keep the username password sync for three domains? If no for question 1, then what is the DIT (Directory Infrastructure Tree) or directory structure I should use?
    3. How to make auto map work on LDAP as well as mount local home directory?
    I really appreciate that some LDAP experta can light me up on this project.

    Thanks for your information.
    My current environment has 3 sites with 3 different NIS domainname: SiteA: A.com, SiteB:B.A.com, SiteC:C.A.com (A.com is our company domainname).
    So everytime I add a new user account and I need to create on three NIS domains separately. Also, the password is out of sync if user change the password on one site.
    I would like to migrate NIS to LDAP.
    I want to have single username and password for each user on 3 sites. However, the home directory is on local NFS filer.
    Say for userA, his home directory is /user/userA in passwd file/map. On location X, his home directory will mount FilerX:/vol/user/userA,
    On location Y, userA's home directory will mount FilerY:/vol/user/userA.
    So the mount drive is determined by auto_user map in NIS.
    In other words, there will be 3 different auto_user maps in 3 different LDAP servers.
    So userA login hostX in location X will mount home directory on local FilerX, and login hostY in location Y will mount home directory on local FilerY.
    But the username and password will be the same on three sites.
    That'd my goal.
    Some LDAP expert suggest me the MMR (Multiple-Master-Replication). But I still no quite sure how to do MMR.
    It would be appreciated if some LDAP guru can give me some guideline at start point.
    Best wishes

  • Tools for capture database design based on multiple  schema

    My database is 11.2.0.1
    please suggest me a tools to capture database design.
    i tested toad,but this tools only capture based on table!

    sql developer data modeller.
    http://www.oracle.com/technetwork/developer-tools/datamodeler/index.html

  • Problem while running report for Multiple Language

    Hi Friends,
    The set up for the apps is done for two languages 1. German 2. English.
    I’m printing Invoice Report. It is associated with MLS language function.
    It returns US or D (for German) according to the setup.
    When I run the report from English User, the report runs fine for MLS language function which returns 'US' and not working for ‘D’ as the template is not being picked up(it completed with status Normal and i'm able to see the output by running 'XML Report Publisher' program)
    Similarly when I run the report from German User, the report runs fine for MLS language function which return 'D' and not working for ‘US’.
    I have created two template for testing purpose.The setup for the template as follows.
    Language English Territory US.
    Language German Territory Germany.
    There is no effect on the combination of the language and territory.
    Please help me...
    Regards,
    A. Swain

    When a report terminates with an error, REPORT_OBJECT_STATUS returns the value "TERMINATED_WITH_ERROR", which is 21 bytes of data, but rep_status is defined as 20 bytes. The 6502 error is due to the data not fitting the variable.
    I recommend wrapping the REPORT_OBJECT_STATUS function with a SUBSTR that limits the data returned to 20 bytes, which will ensure the results fit.
    For example:
    rep_status := SUBSTR(REPORT_OBJECT_STATUS(v_rep), 1, 20);

  • Time-series / temporal database - design advice for DWH/OLAP???

    I am in front of task to design some DWH as effectively as it can be - for time series data analysis - are there some special design advices or best practices available? Or can the ordinary DWH/OLAP design concepts be used? I ask this - because I have seen the term 'time series database' in academia literature (but without further references) and also - I have heard the term 'temporal database' (as far as I have heard - it is not just a matter for logging of data changes etc.)
    So - it would be very nice if some can give me some hints about this type design problems?

    Hi Frank,
    Thanks for that - after 8 years of working with Oracle Forms and afterwards the same again with ADF, I still find it hard sometimes when using ADF to understand the best approach to a particular problem - there is so many different ways of doing things/where to put the code/how to call it etc... ! Things seemed so much simplier back in the Forms days !
    Chandra - thanks for the information but this doesn't suit my requirements - I originally went down that path thinking/expecting it to be the holy grail but ran into all sorts of problems as it means that the dates are always being converted into users timezone regardless of whether or not they are creating the transaction or viewing an earlier one. I need the correct "date" to be stored in the database when a user creates/updates a record (for example in California) and this needs to be preserved for other users in different timezones. For example, when a management user in London views that record, the date has got to remain the date that the user entered, and not what the date was in London at the time (eg user entered 14th Feb (23:00) - when London user views it, it must still say 14th Feb even though it was the 15th in London at the time). Global settings like you are using in the adf-config file made this difficult. This is why I went back to stripping all timezone settings back out of the ADF application and relied on database session timezones instead - and when displaying a default date to the user, use the timestamp from the database to ensure the users "date" is displayed.
    Cheers,
    Brent

  • What design aids for large-scale application (using LV6i) exist?

    I have a large-scale application that includes analog and digital I/O, motion control, multiple temperature readings, Ethernet communication, RS-232, DDE and ActiveX controls for communicating with other commercial software. We have to improve the system performance and ease the pain of maintaining and upgrading. What aids are there for large-scale application design and development?

    This doesn't exactly count as development "tools" but I can send you copies of three papers that I found when I was just getting started with LV. They can show you how to think about your problem--and that is really the hardest (and most important) part.
    Contact me directly and I'll email them to you. The archive is to large to post.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Design Suggestions for Multiple DaqMX Task Streaming App?

    I'm working on a LabVIEW application in which I'm streaming high-speed data to disk from multiple PXI devices simultaneously.  Each device has its own DaqMX task, and all tasks stream to the same file.  The PXI device configuration (which devices are in the chassis, which slots they're in, and which channels to read from each device) is determined at runtime.
    Does anyone have a suggestion for a design model for this?  To make matters worse, I'd like to be able to specify a channel to monitor its data during the streaming.  I'm thinking the Producer-Consumer model is the basic approach, and I'm at the point where I have an array of DaqMX tasks, one for each device.  I could probably extend that array to be an array of clusters containing:
       1) DAQ Command (e.g. Initialize, Start, Stop, Acquire, etc)
       1) Task ID
       2) Control reference to 2-D array (where each DaqMX read can be stored)
       3) Array of channel names (to allow selection of channel to be monitored
    This could be passed as notifier data, to a data collection subVI, but the part I'm struggling with is finding the best way to run X number of tasks in parallel, where X is not known until runtime.
    Any suggestions would be appreciated.

    Thanks for the input.  With regards to the file format, the decision has been made by my superiors not to use TDMS - unfortunate, but NI hasn't provided the information to write a MatLab file reader, which is a requirement.  So, I've created a custom file format tailored to the needs of my application, but generic enough to be used for other apps. With it, I've been able to stream 8 channels at 800KHz (4 channels each from 2 PXI-6120s) without breaking a sweat.  However, the performance varies greatly depending on which slots the cards are in (but that's a whole different discussion - see the PXI forum for that one).  Once NI solves that one, I'll feel a lot more comfortable.
    I have already made reentrant subVIs that can perform a specific DAQ task.  The problem with a for loop is that the VI sits and wait for a start trigger, then acquires the streaming data.  I can't start the next VI because I'm in the first one.  I thought about creating a data collection VI, and this VI would start up to 6 other VIs in parallel, based on how many and which cards were present.  It's a bit messy, because each slot can contain one of two devices, so I'd need to check which type it was before calling it.  I'm thinking I'll have to create the task list and the references to the data in the main GUI loop, and then pass this using a notifier or queue to the data collection loop. 

  • Design forms for multiple users

    Dear sir
    I am developing new application for my company.I don't know how to desing the the tables for multiple users and how to give rights to users to access certain forms.This application will use in two differnet languages.
    how to switch one language to other languages
    give me some ideas
    thanks
    Dev

    ...how to desing the the tables for multiple users and how to give rights to users to access certain forms.
    There are several ways to do this. One way is to create different database accounts for each user, and give each user priviledges to the tables they need. (Your DBA may need to do this.) Then, when the users logs in, check who it is and call the appropriate form.
    how to switch one language to other languages
    This is a common question. See Experts Experience Required: Direction In 10g or search the forum for additional help.

  • One Search service application for multiple web applications in a single server

      We are planning to host 17 Web applications in a single Server. Do I need to create search service application for each web application or I need to create one  Search service application , create a Content source for each web
    application and create a Result source for filtering. Which is the best approach. And which approach takes more RAM memory.
       In my application I am using Search web part, "Recently Changed Items", "Popular Items" web parts. when I created only one one  Search Service application for all web applications and using Result sources ,
    I am not getting the results. What could be the problem.

    Hi,
    One SSA is ok, but you should think about access rights. If the access is clear cut between all the web apps you should be ok with one SSA. Multiple result sources limiting on content source also works, but could easily be bypassed.
    Multiple SSA's will eat up RAM/CPU like a mother :)
    As for popular etc.. it could be due to how those sources are set up, but haven't investigated or tested this much.
    Thanks,
    Mikael
    Search Enthusiast - SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
    http://techmikael.blogspot.com/
    Author of Working with FAST Search Server 2010 for SharePoint

  • Adding support for multiple languages

    Hi all,
    I've a desktop application with multiple components in it containing .rc files.Now, I'd want to replicate these .rc files in such a way that I should be able to build and generate a localized build from my source.
    To explain more, as of now my release configuration would generate an English language build. Now, I'd want to do the same for all languages. Is there any tutorial on how to achieve this?
    For now, I'm thinking to add multiple build configurations and let different components point to specific resource directories.
    Lets say I have a folder res_english -> this will contain all english resources, res_japanese would contain all japan resources, like this I should have multiple folder each containing specific resources. CAn someone guide how to do this?
    Thanks!

    See
    here.

  • What is the best method for multiple language interface?

    Hi,
    I need to adapt my CVI application to multiple languages.  But I have to be able to do this on the fly.  The Localizer is great for all the panel objects and this works great.  But I was wondering what the best method is for all the dialog box text?  Right now I'm using const char defines for the text. For exampl:
    const char *CONST_NO_STRING         = "No";
    Is there a simple method, or best practice method, to load different language dialog text at run time or on the fly?
    Thanks,
    Andy

    Not sure if Andy's original concern was settled... but let's try and button this up:
    - The UI Localizer does use a text file with manually-written translated strings for each supported language
    - From the Localizer help: this will only aid in translating the panel labels.
    Use this instrument driver to easily display user interfaces in different languages. When loading a panel or menu bar, you can specify a language file that contains translations for all the labels on the panel and all the menu items. You can create different language files for the user interfaces by translating them with the User Interface Localizer utility (localui.exe).
    - If you have additional content to be translated (like the text inside a drop down box), manually loading from .lwl, or similar, files and programmatically setting those dialog box entries would be the solution. - Looks like CVI should handle multibyte languages just fine (see below), though I have never used them.
    To close, these 2 devzones are good references:
    http://zone.ni.com/devzone/cda/tut/p/id/4036
    http://zone.ni.com/devzone/cda/tut/p/id/3841
    Regards,
    Peter Flores
    Applications Engineer

  • Support J2Me app for multiple language

    Hi,
    Does any one know how to support multiple language in J2ME application?
    Like I have the text box in my app, and I have set the language to German, it should display German characters in the text box ?
    Thanks

    Hi,
    Searching encoding schemes for displaying different lanugae characters would help you.
    Regards,
    Omar Rehman

  • Table for multiple languages

    Hi:
    I have an application with a description field in 2
    languages. Wich is the best approach regarding performance, one
    table with 2 fields for different languages or putting descriptions
    in a separate table?
    PHP/MySQL
    Description fields are about 1200 chars long
    1 table
    ID, NAME, DATE_IN, DATE_OUT, LOCATION, DESC_EN, DESC_ES
    2 tables
    t1: ID, NAME, DATE_IN, DATE_OUT, LOCATION
    t2: ID, LANG, DESC
    Thanks in advance,
    Dave P.

    to normalize your database it would be prefered to use two
    tables. with a single table you would be repeating the name, date
    in/out, and location for each entry, so if you had two languages
    you would have duplicates of each of those fields.

  • Multiple language application form 11g

    Hi,
    I am trying to make a multiple language forms application (english, france and dutch). We use forms 11g.
    The forms help mentions that there is a tool called translationhub to do this, but i can't find this tool in forms 11g.
    Where can i down load this tool (or did i something wrong during installation)?
    Are there other ways to make a multiple language forms application?
    Any information is greatly appreciated.
    thanks.
    Peter

    At this time there is no Translation Hub for Forms 11g. With Forms 10gR2 the Translation Hub has been distributed together with the Developer Suite 10gR2 installation. This is not the case with Forms 11g and currently there is no separate download of a Translation Hub version available which is compatible with Forms 11g.
    You might ask Forms product management, i.e. Grant Ronald, about this. We also wait for the release of a Translation Hub version for 11g before we can upgrade all of our customers to 11g.

Maybe you are looking for

  • Frm-92101 webutil in a pll

    Hello, i have created a pll that is using webutil-functionality. (webutil_file.directory_filtered_list) I try to use the pll in a fmb. If i use in the fmb webutil functionality directly, I have no problems at all. But If i use my own pll with webutil

  • Euro € symbol for embeded fonts

    Hi all, I'm trying to use the Euro sign in an application, to render some data in Labels formatted with a CurrencyFormatter for which I specify '€' as currencySymbol. The symbol is displayed when no style is used for the Label, but when I assign an s

  • ITunes computer authorization failure ( tried all fixes )

    Computer authrization problem in iTunes Hi to all. I am having the common problem of computer authorization in iTunes, so i can't sync my iPad and transfer my purchases. I have read about all the "popular" fixes and none of them worked. I am listing

  • Driver issues for Radeon HD 6750M switchable graphic card

    Hello guys, took time for me to decide wether to join forums like this just to get real help coz goggle doesn't show any solution with my issue. i was able to update my video card with the old raptr app from amd and allowed me to maximize the feature

  • Creating New Class Object progmatically

    Instead of uploading an XML for a new type definition, I want to create a new class object progmatically. In my code, I basically set up a ClassObjectDefinition, set the attributes, then call createSchemaObject. I'm getting an exception saying that I