Solved

Localization in my application displays wrong language

Posted on 2013-11-05
9
283 Views
Last Modified: 2013-12-17
Hi,

My application is written in VS2005 (c++) and at this point supports English and Polish. As as when the language settings are changed, the application displays in the correct language.

The problem comes when the language is for example Dutch. Its displaying in Polish!!! Any ideas why?
0
Comment
Question by:jim_imtech
  • 5
  • 4
9 Comments
 
LVL 29

Expert Comment

by:pepr
ID: 39623672
How do you change the language settings, where it is displays, and how the language support is implemented?
0
 

Author Comment

by:jim_imtech
ID: 39623720
The language support is implemented using VS's rc files and I change the languagae settings from control panel - Region and Language. Infact if I select any other language (other than Polish and English), it is displayed in Polish as if default language is Polish.
0
 
LVL 29

Expert Comment

by:pepr
ID: 39623844
I guess the Polish is marked as a default (fallback) language. Would you like English to be used when the language is not supported?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:jim_imtech
ID: 39623849
Yes. I want default lang to be English. How to do that?
0
 
LVL 29

Expert Comment

by:pepr
ID: 39623858
I am doing the internationalization differently. This way I am not very experience with doing that via .rc file. Anyway, I guess you should use the

LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

for the English texts, and the

LANGUAGE LANG_POLISH | SUBLANG_DEFAULT

for the Polish. But I did not try.
0
 

Author Comment

by:jim_imtech
ID: 39623863
I am using

LANGUAGE LANG_POLISH, SUBLANG_DEFAULT

for polish

and

LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US

for English
0
 
LVL 29

Expert Comment

by:pepr
ID: 39623876
I do not know the rules for the fallback language. I only guess that it should be explicitly declared as LANG_NEUTRAL. It could be the case that the LANG_NEUTRAL was not found. This way Polish was used as it was found earlier than the English. Sorry, I do not know.
0
 

Accepted Solution

by:
jim_imtech earned 0 total points
ID: 39716024
I had to add a new rc file with Dutch lang (which was basically English text) to get over the problem
0
 

Author Closing Comment

by:jim_imtech
ID: 39723516
This was the only way I could get my application working
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question