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 8109121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T01:19:18+00:00 2026-06-06T01:19:18+00:00

I want to create a site in PHP with cakephp that users can insert

  • 0

I want to create a site in PHP with cakephp that users can insert product manually.
The problem is for the multilanguage because I can have into my site users from all over the world and the product ‘apple’ in italian for example is ‘mela’.
Consider that I can have many many data!
Then i have some solution for the database:

    • Create a table products with an id
    • Create a table product_aliases where I have an id the id of product language and the text(ex. apple)
      In this mode users can enter into ‘apple’, translate ad I insert a new line into product_aliases with same id product different language and different text but same product
  1. Define 5 language and create a table with more fields (title_en, title_it, title_es…) the translation is in the same record
    Only one table but restricted language

    • Create a table products with an id
    • Create a table for every language that i want for example: prducts_en, products_it where I can store my data with same foreign key to the product but divide from language to make fast query.

Other solution are accepted!!
I never work with large multilanguage database help me and tell me what is the best solution for my database

  • 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-06T01:19:19+00:00Added an answer on June 6, 2026 at 1:19 am

    The first one is the correct solution in general.

    It’s used in many enterprise applications: a table with an id field for identification of the not multilanguage information (example: unit price for a product) and a table with a row for every combination product/language.

    The second one is against every db normalization rule.

    The third one is a different derivation of the second one, and if you use an index on the language column in the translated labels table you should not have a great disadvantage in terms of performance.

    If you need I will explain better!

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

Sidebar

Related Questions

I want to create a site in php such that, when user would login
Ok, so I have code that posts to my php site, but I want
I want to create a web site with pure PHP. I want to hide
In my PHP web site, i want to create a file uploading progress bar.
I want to create Unique ID for my site users in this format pubID-john_34032
I have a weird question. I want to create script in javascript (or PHP
Hello I want to create a simple blog where users can post comments, but
I'm creating an auction site where users can bid on items. I want to
I want to create my own JSON API with PHP and I want that
I have a site and I want to create a log.txt file which includes

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.