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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:54:25+00:00 2026-05-31T07:54:25+00:00

I have a table with two columns ID | Material and I need to

  • 0

I have a table with two columns ID | Material and I need to add an English translation to the material column. If I didn’t have the unique id I guess I could use this answer: https://stackoverflow.com/a/219871/536610

But it won’t work with a unique id (as far as I know). Is the best solution to add a new column called EngMaterial and add the English translation there, or is it possible to solve this in a better way with localization in .NET?

  • 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-05-31T07:54:26+00:00Added an answer on May 31, 2026 at 7:54 am

    A completely in-database solution is to add another table. Adding a column per-language is a (poor) temporary solution at best – it doesn’t scale well, and would require dynamic sql to choose the column (which may cause errors if the language code is available, but there’s no appropriately named column).

    Keep your existing table as-is. It makes a great primary-key table for referential integrity, and also allows for easy storage of defaults, if the appropriate language can’t be found. Then add another table like this:

    Material_Localizations
    ========================
    materialId  -- fk reference to Material.id
    languageId  -- fk reference to Language.id
    regionId  -- optional - used to differentiate where the particular language is 
              -- being spoken: some places use different spellings or whole words
    materialDescription  -- varchar, localized text
    
    primary (unique) key is <materialId, languageId, regionId>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table with two columns: column A column B 1 2 1
Say I have an MSSQL table with two columns: an int ID column that's
I have a table with two columns where I need one ( columnB )
Let's say I have a table with two columns, one column for the ID
I have table that has two columns and I need to concatenate these two
I have a table with two columns. I want to center the right-most column
i have a table with two columns first column is a (currentdate)timestamp and the
I have table with two columns (startdate & enddate) and I have two submission
I have a table with two columns and one row, and 100% width across
I have a table with two columns, GroupId and ParentId (both are GUIDS). The

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.