Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9040903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T10:06:21+00:00 2026-06-16T10:06:21+00:00

I need a little help with creating a database for a multiple language web

  • 0

I need a little help with creating a database for a multiple language web site. I have a feeling that I am creating a monster. So any advice will be very helpful. I have two tables for the articles.

This table contains data that will be the same for every language:

article

id_article
images
date_created
date_start
date_end

This table contains data that is different – Text in English is not the same as the text in German.

article_info

article_id
title
text
info
category_id
lang_id

Idea behind this is that one article can be in multiple different languages. Is this a good way of building the tables or am I doing something wrong? Is there a better way to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T10:06:22+00:00Added an answer on June 16, 2026 at 10:06 am

    I believe this design, in which an article can have one or more renderings in different languages, will work well. I’ve worked on a similar system, where the multiple languages were an afterthought. On that system, the primary language (EN-us usually) had columns in the article table. This is better.

    One thing to think about: You may, or may not, want to be able to store an article’s summary data such as titles, subjects, keywords, and possibly an abstract in multiple languages even if you don’t possess a translation for the whole article. So, instead of article_info, you may want separate tables for title_info, text_info, keyword_info, and so forth, each with a lang_id key.

    Pay attention to your character set (utf8 is a good choice) and collation. Your default collation should be utf8_general_ci, but your

     ORDER BY xxx COLLATE collation
    

    may need to be set user-by-user based on a user-preference setting. For example, COLLATE utf8_general_ci won’t do the right thing for Spanish-language titles in which n and ñ are different letters.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just need little help, that is: many times i have seen http://www.xyz.com/index.jsp?etetet%rr^_frfwrw.... .
I need a little help creating a catch-all error handling page in my ICEfaces
Need a little help with a SQL / ActiveRecord query. Let's say I have
I'm creating a simple script for blender and i need a little help with
A little help needed, I have a Macro automatically creating pivot tables and charts,
I need little help on a homework assignment. I have to create a 10
I need a little help with an IRC bot I'm creating (very simple). <?php
I have a chat on a web site that looks like this. I am
I'm creating this cool HTML Jeopardy game and I need a little coding help.
Need help with the following. I am creating two different combinations of view/controllers that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.