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

  • Home
  • SEARCH
  • 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 425415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T19:22:39+00:00 2026-05-12T19:22:39+00:00

I am required to develop software in English and Spanish and as such all

  • 0

I am required to develop software in English and Spanish and as such all of our apps are setup for localization. Our basic solution/project structure is to have a central project, called ProjectName.Core or ProjectName.Localization, and in this project have the following files.

Strings.resx – Contains all localizable (in English) strings, messages, errors, etc.
Example
ErrorMovePallet = “Cannot move pallet “{0}” to slot {1}.”

Glossary.resx – Contains common terms of the system.
Examples
PalletTerm = “pallet”
PalletCapitalized = “Pallet”
SlotTerm = “slot”
SlotCapitalized = “Slot”

Given the example text above I have been substituting the glossary terms into the strings at runtime. So instead of “Cannot move pallet “{0}” to slot {1}.”, I have “Cannot move {1} “{4}” to {3} {5}” with code like…

public static string ErrorMovePallet(string palletId, int slotId)
{
    return string.Format(Strings.ErrorMovePallet, Glossary.PalletCapitalized,
                                                  Glossary.PalletTerm,
                                                  Glossary.SlotCapitalized,
                                                  Glossary.SlotTerm,
                                                  palletId, slotId);
}

This seamed like a good idea at the time but now I’m becoming concerned that this approach may lead to problems because other languages do fit into this structure especially where plurals are concerned.

I’d like to hear what others are doing especially those working on, or worked on, products that ship(ped) for different languages.

Would I be better off just having the basic string, such as “Cannot move pallet “{0}” to slot {1}.”, and letting the translators sort out the pallet/slot bit or am I better using the glossary approach?

Thanks.

  • 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-12T19:22:39+00:00Added an answer on May 12, 2026 at 7:22 pm

    Yes; do not use an approach like this, let the translations fully determine each sentence for each case; handling it in parts will lead to problems.

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

Sidebar

Related Questions

Is Xcode 4.3.1 (and therefore lion) required to develop apps for the iPad 3's
For some of the customers that we develop software for, we are required to
The software I develop uses command line makefiles. My environment uses free tools as
I'm required to develop a slideshow (not an existing one) with jQuery. I was
We are developing a website which is required some software to install for first
Where I work we need to rethink the way we develop software and keep
On my Mac, I have installed the required certificates and keys to develop and
I need to develop a simple cache (no concurrency or refresh required) to hold
I am trying to develop android apps on a MAC Mini and have installed
I'm about to develop some commercial software that will run on OSX and Linux.

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.