Click here to Skip to main content
15,890,512 members
Everything / General Programming / Localization

Localization

localization

Great Reads

by Nick Polyak
New simple and flexible package for Theming and Localizing multiplatform Avalonia applications is described here with samples
by Tomáš Růt
Explanation of features for localizations and formating by bobril-g11n library
by Robert Hoffmann
History of globalization in ASP.NET and available options.
by Shabra
How to use Resx files to internationalize your code

Latest Articles

by Lance Ford
Step-by-step guide to enable an ASP.NET web application to override date, time, currency and number formats.
by Pawan Kumar from CodewithPawan.com
Explore the seamless integration of @ngrx/translate with an Angular standalone API in this comprehensive guide, ensuring a smooth translation workflow for your applications.
by Nick Polyak
New simple and flexible package for Theming and Localizing multiplatform Avalonia applications is described here with samples
by Jani Giannoudis
Structured approach to ASP.NET Localization

All Articles

Sort by Updated

Localization 

28 Jan 2013 by _Amy
Hi,Refer the links for Similar Articles:Developing an ASP.NET page with MasterPage and Localization[^]C#.NET Localization With MasterPage[^]Similar ThreadsASP.NET master page meta:resourcekey[^]Tip/TrickLocalization and Master Pages[^]--Amit
11 Dec 2016 by abdul subhan mohammed
Hi guys,I have created one web and windows based application and these both applications are in multilingual langauges(English, Arabic, Hindi, Philiphinne).This application is created for ExamCenters.In which they will create Exam Session. When Exam Sessions are created, the date &...
5 Sep 2018 by Adleano15
Hey, I have a Windows Forms Application with multiple projects within. One of the projects now is a WPF Project with a containing Window object. Now i want to establish a multi language support for the new integrated Window like this article: Simplest Way to Implement Multilingual WPF...
20 Jan 2014 by Adwaitam
Hi All,I have application which is developed in English language. However, I want to show it in French language as well. The application contains the resource files and all for french language. Can anyone suggest how can I deploy the language in two different language ? I need to change...
16 Oct 2017 by Ahmad Abd-Elghany
hello , i want to make a multilingual site with master page . when i use the InitializeCulture() method in the master page it alwyas get wrong.i have alot of oages nested from that master page , so how can i do that ?
1 Nov 2016 by Andrea Simonassi
A simplified guide to the RFC5646 document; what is a language tag, how must be parsed, what is the IANA registry. How to implement a library, in any programming lang, to lookup user preferred language against a list of supported languages. A C# implementation is provided.
29 Jun 2015 by Andy Lanng
Hi,I have a website that should be available in every visitors own first language. This includes not only the entire EU, but any EU visitors (so pretty much every language >_
29 Jun 2015 by Andy Lanng
OK. gonna go down a different route.The tool suggested by Richard Deeming looks great:Quote:You might find this tool[^] useful for localization. :)With this I can include a page for admin or ourselves to add / improve translations.Sergey confirmed my fear. There are no free...
11 Dec 2016 by Andy Lanng
Anything you do on the server side (in the c# code) will take the server time.Please perform a quick search either in the forums or in google before posting here:How to get the date time of client PC in asp.net C#?[^]
24 Sep 2016 by Ankita Khanna
We are testing a standalone application that is developed in Java and uses ubuntu platform. We have to validate that there are not truncation issues when the application is tested in different languages. Do we have an tool that can do it or what could be the way to automate this...
7 Feb 2022 by Aram Tchekrekjian
How to localize in ASP.NET Core Web API 6
18 Nov 2015 by Aravinth G
I am trying localisation in js file using i18n-js gem.in i18n-js.ymltranslations: - file: "app/assets/javascripts/i18n/%{locale}.js" only: ['cust_details', 'order_details']I am trying to load only 'cust_details' and 'order_details' into translation file and split them per...
19 Mar 2014 by AshLiGaLa
I have created Folder Structure (for example the test folder has a page TestPage where I have created a LocalReource.resx file for Russian language) for a Web page. When I call the page from another page say Login.aspx the resource keys are not bound to the controls. can any one help me...
4 Feb 2021 by atulonweb@gmail.com
I am implementing globalization and localization in dot net core. I am following below link from microsoft. Globalization and localization in ASP.NET Core | Microsoft Docs[^] It is working perfectly fine. My website is has layered architecture...
23 Jun 2012 by banxman
Hi,I'm building a Windows Phone application and my client has given me a list of languages that he would like the App to be localized for.The problem is that some of those languages are not supported by Windows Phone and I then decided to check out the list of supported langauges which...
1 Aug 2017 by Ben J. Boyle
No, straight HTML will not update. HtmlLabelFor passes through a localization aware process and can update the strings based on the selected locale, but a hardcoded HTML string does not.
8 Mar 2012 by Bernhard Hiller
Strange. I opened a new WOrd document, selected your font, copied some text from the BBC's Russian web site into that Word document. The text did not change - but it looks really ugly, all characters have the same width except for space which is very narrow. If that's your problem, then the...
23 Oct 2013 by Captain Price
Try the ICU library:http://site.icu-project.org/[^]
18 Jul 2012 by CGN007
How to programmatically localize the OK and Cancel buttons of the javascript confirm popup?
24 Apr 2011 by Ch Naeem
Hi all,I am using visual studio 2008 with SQL server 2008 ..In my application when i am trying to add record in my grid view while adding record i change my text language from default English to Arabic want to add text in Arabic language in grid viewAfter adding record the Arabic...
13 Oct 2015 by chandra sekhar
I am working on Localization in WPF.I have two resources files one for english and one for french.Through dropdownlist i am changing the language but the text is not changing according to the language private void cmb_Loaded_1(object sender, RoutedEventArgs e) { ...
21 Aug 2012 by Chip VonBurg
Localizing your apps with Google Translate
8 May 2011 by Christophe_
Hi,I localized an ASP.Net web application with resx files in App_GlobalResources and it worked quite well. I could get resources from code behind and from markup with explicit (like this : )Now, I am trying to embed resources into satellite...
21 Nov 2015 by Christopher John Paul
A solution to localizing a jQuery dialog box
16 Jun 2016 by Clifford Nelson
This is an alternative for "Advanced WPF Localization" that adds functionality for capitalizing and pluralizing the text to be display.
11 Sep 2013 by Dave Kreskowiak
Considering the resources are compiled into the running .EXE, you can't modify them. The .EXE file is locked and cannot be modified while the .EXE is running.Another problem you have is that, under Windows Vista, 7 and 8, the Program Files folder your application is installed to is ReadOnly...
14 Jan 2018 by Dave Kreskowiak
There is no "easy method" for this. Each corporate implementation is proprietary and it cost them a LOT of money and research time to develop. As far as I can tell, there is no public implementation available. My wife works for a company that does this very thing in large buildings, but not to...
19 Jul 2013 by David Liebeherr
Localizing a WPF Application with inline texts instead of Resource Files
24 Sep 2016 by David_Wimbley
It looks like in java you have a local method and it interacts with ResourceBundle which is a key value pair of your strings that are localized.Locale (Java Platform SE 6)[^]You should then be able to create unit tests where all you do is call the same class/method but pass in the...
30 Oct 2013 by dev C plus
i'm starting to create a application map on androidso, it's use only on highway.i don't know location(Longitude and latitude) which get by GPS on tablet with os android is on highway or normal street.i have a solution, at highway gateway. i have use a flag to know is highway. But, the area...
28 Oct 2019 by DotNettled
I have a Windows application and a Windows Service that both make calls to a common DLL. This common DLL spawns a process which generates my output. When run on a non-US Windows OS (zh-TW in this case) the Windows Application generates output as expected. When run as a Windows Service the output...
10 Apr 2012 by Doug Domeny
Text in an XSLT may be localized by reading translated strings from an XML document. Numbers may also be localized.
16 Apr 2019 by el_tot93
Does anyone have an idea why my code is not working? I get English strings everywhere. Note that is not an ASP.NET project but an actual WinForms project. I have set up a windows forms project to use localization so that it will support Arabic and English languages. ...
7 Mar 2016 by Er. Puneet Goel
There are several options but google map is used due to Complete Support and flexibility. But you can go for following options as well.Android and Maps
1 May 2011 by Ernest Poletaev
A Localized WPF Application template for easily localizing a WPF application
30 Oct 2011 by Espen Harlinn
I haven't tried this for localization, but you will get a server side element MITA – ANTI SKID DEVICE FOR TYRESand you can use the info from this...
27 Jun 2013 by Freak30
An alternative would be to keep the variable local in A and pass a reference to B and C in their constructor. Then B and C store the reference and use the same variable. This is closer to a global variable but it is only known between the 3 classes. It would look like that:class A{ B...
23 Jun 2012 by Ganesan Senthilvel
You can get the Windows Phone Operating System Version number from Environment.OSVersion. Here is C# code:string OSVersion = Environment.OSVersion.Version.ToString();
2 Aug 2013 by GauravThorat
Hi All,Part 1)I am going to create application in asp.net with multiple language support, for that I have two options one is using .resx files (Localization and Globalization) and another option is using database.So can anybody tell give me the list of pros and cons of both...
19 Nov 2020 by Gerry Schmitz
"Unsorted". How does anyone here know how they should be "sorted"? (Or not). Chinese uses double byte (and perhaps triple byte characters); English and French not so much. Maybe you need to consider those extra bytes, when "sorting" (or not).
10 Dec 2016 by gfazzola
In this article I will explain the implementation of an infrastructure to host and manage windows services in a practical and interactive way.As a practical example of the solution will be implemented a dynamic ip update client of DucDNS
25 May 2021 by Gita Padhihari
I have developed a test application for language localization. The application contain one comboBox and one label. The comboBox contain different languages. Based upon the selection of languages the label text culture should change. In the...
27 Jun 2013 by H.Brydon
Your class structure is a little puzzling. It seems to me that the int value(s) really might belong in A and then B and C instances refer to an instance of A (in the constructor). [The value(s) in A should then be private with a 'get' accessor.]If this is not the case and you really need...
20 Feb 2014 by hemantwithu
I have a web application which should be Localized to 3 languages. All the controls are taking the control text from the Resx file of that language. Now I have scenario like suppose if we have a messages,custom error messages to show for that particular culture. So for this I have created a...
27 Apr 2015 by HiDensity
Localization of an application at runtime - "On the fly"
16 Aug 2023 by Jani Giannoudis
Structured approach to ASP.NET Localization
1 Oct 2017 by Jecho Jekov
Provides a solution for localization of WPF application both in XAML and in code-behind
17 Dec 2014 by Joan M
Hello all,I'm porting an old 2005 VC++ 6 project into the new nice VC++ 2013.Each time I edit something into the resource editor, those lines appear into the PROJECT.rc file:#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ESP)#ifdef _WIN32LANGUAGE 10, 3#pragma...
17 Dec 2014 by Joan M
It looks like this can be solved by right clicking on the PROJECT.rc item in the Resource View and click on RESOURCE INCLUDES.After that in the window that appears, change the Compile-time directives.I've simply commented out what it was offensive and by now it has not appeared...
28 Aug 2015 by Jochen Arndt
At least with older Windows versions this is not possible (uses always the Windows user locale). This cite from DTM_SETFORMAT[^] indicates that it might be possible with Vista and later when not using user defined formats:Quote:A DTP control tracks locale changes when it is using the default...
11 Dec 2016 by Jochen Arndt
Always use UTC when storing and comparing dates and times. Only when displaying them, they may be converted to local time. If the clients are displaying (e.g. using JavaScript), convert the UTC time passed from the server to local time.If the server is displaying, it needs...
7 Aug 2017 by Jochen Arndt
Gregorian 21/08/2017 would be Hijri 29/11/1438. So you got a wrong year. This may be sourced by using a date format internally that is Gregorian and does not support "old" dates (and it might also print "invalid" when the conversion creates invalid Gregorian dates). A possible solution might...
20 Jun 2014 by Jochen Scharr
C# CountryInfo class, LanguageInfo class and CurrencyInfo class, derived from CultureInfo respectively RegionInfo for a more intuitive and compile-safe handling of countries, languages and currencies
27 Sep 2011 by Jörgen Andersson
Your database design needs another change. Use NVarchar instead of Varchar, as it allows the use of unicode for characters.
17 Dec 2014 by KarstenK
In reading Jochens postings I think it is a bug. I would try these workarounds:1. change the template file which creates this text2. create an empty file "l.esp\afxres.rc" so the rc-compiler wont yell anymoreFor both solution you must search in the VC-Installdir for the file (2) or the...
12 Aug 2016 by KarstenK
You should read the documentation for gettext. Use msggrep for fetching a directory.
1 Jun 2017 by KarstenK
This job should do your GetLocaleInfo with the correct flags like LOCALE_USER_DEFAULT. Also check out GetLocaleInfoEx and its various flags. It may depend on the Windows version and may fail on older Windows like the retired XP. So test it on Windows 10. I wouldnt wonder if there is some bug in...
11 Jun 2014 by katela
Good dayHow to create a multilingual windows form that can change the display language of open dialog box?I have a form application and would like the user to change the language of display. Here is my code, so far I can change the form controls including the menu item, I couldn't change the...
11 Jun 2014 by katela
Thank you for your message, but i am still struggling, I am not an expect in C#, could you provide me with just a simple code example on how to do this?Thanks
7 Jun 2011 by Keith Barrow
This article provides a simple globalization mechanism for a bilingual website. Part I creates a simple bilingual website.
8 May 2011 by Keith Barrow
Have you marked the resx's default Access Modifier to public? It defaults to Internal. Take a squizz at this[^] and seach for "Now set the access modifier to public" the rest of the article is irrelevant.
30 Jan 2012 by Keith Barrow
This artcle extends Part 1 to allow overriding of culture through the URL in a lightweight fashion.
19 Feb 2012 by Keith Barrow
It won't look at the Global resources, nor should it. "Global" in this context means global to the application (available to across pages etc) rather than a global locale.The rule is it traverses up the tree:e.g.Foo.resx (default - lets say english)Foo.hi.resx (default...
13 Feb 2016 by Konstantin A. Magg
Angular-translate is the number 1 module for providing localized texts in angular. This tip tries to give a short description of implemented async file loaders and a few recommendations, when to use them.
17 Feb 2016 by Konstantin A. Magg
Why automated tools are the key to managing translation resources - discussed on the example of angular-translate and how to start with some basic tools
6 Aug 2017 by Kornfeld Eliyahu Peter
That because the local for your Arabic culture displays dates according to the Islamic calendar (with a little bug)... The 21/08/2017 is the 29th of Hijja 1438... Hijja is the 12th month of the Islamic calendar (with zero based it comes to 11) and because of the bug of 1900-2000, 38 displayed as...
12 Mar 2013 by Kumar, Ravikant
I have an exe which read CultureInfo from xml file and sets current thread CultureInfo (developed on some specific requirements). If nothing is defined in xml file then it always sets locale as en-US. I dont have the source code, only the exe. Is there any way to run this exe with different...
18 Jan 2024 by Lance Ford
Step-by-step guide to enable an ASP.NET web application to override date, time, currency and number formats.
4 Jan 2015 by littleGreenDude
I'm struggling with localization. It seems the more I read the more confused I get. I started with a single resource file "strings.resx" in this file, I made my English string assignments.From inside of VS2012, I couldn't add another string resource file and have it appear in the editor...
8 Jan 2015 by littleGreenDude
Localization in Windows Universal Apps[^]
27 Nov 2011 by lukeer
Hi experts,I have created an application that requires .NET 2.0. I added a setup project to check for and install the .NET framework 2.0 prior to the application. Since end users will most likely install the application on laptops on construction sites in the middle of nowhere, I set the...
29 Nov 2011 by lukeer
Hi experts,is it possible that the language pack that is being installed along with .NET 2.0 itself is completely dependent on the target machine?That would mean that the creator of the application setup package that includes the .NET setup had no influence at all on what language pack...
26 Feb 2021 by Maciej Los
As @embar.k.adero mentioned, when you use local names of functions (in your nativve language), you have to use FormulaLocal[^], but when you want general solution (no matter of regional settings), you have to use Formula with English names and...
30 Oct 2011 by Mario Majčica
Hi all,it's been a while since I for the last time "played" with asp.net. I have one simple question about the localization.I have a couple of pages containing some text in the page itself, properly formatted with different HTML tags.Example: MITA –...
23 May 2013 by Marla Sukesh
In this article we will look in detail how to create a multi-lingual and multi-cultural applications using Asp.net.
24 Nov 2011 by Mehdi Gholam
A very simple way is to create a dummy exe (does nothing) file in the name of LANGPACK.EXE and distribute that to the non German users.
16 Apr 2019 by Mehdi Gholam
Winforms creates resource files for various languages you have changed your forms design for (changed the strings and layout etc.). If your application works in debug mode and you can switch languages, then check the "bin\debug" folder and copy/deploy the language folder "ar" or "ar-KW" along...
28 Aug 2013 by Member 10233808
i have downloaded Wireless Sensor Network Localization Simulator v2.1, but i dont know how to install it.hence guide me to install it.it is very urgent, as it concerns my project...
23 Oct 2013 by Member 10353656
hello all I am trying to convert the english language to any other local language @ run time. example in c++:- string name; cin >> name; cout
5 May 2014 by Member 10702891
Hi thereI am VERY new to programming on a whole and this is my first question so please go easy on me. I have searched everywhere for a solution but nowhere seems to deal with the same situation.Basically, I am one of two developers working on the same project. I have just completed the...
6 May 2014 by Member 10799577
using System;using System.IO;using System.Text;using System.Drawing;using System.Collections;using System.Windows.Forms;using networkdll;using Mapack;namespace MCL{ public class MCL { public int counter, slot_duration, delimiter = 0; public DateTime...
6 May 2014 by Member 10799577
i have downloaded Wireless Sensor Network Localization Simulator v2.1, but i dont know how to install it.hence guide me to install it.
18 Dec 2016 by Member 11319420
Is there any way to devise a multi language help system through C# for desktop application. How to implement it ? Thanks in advance.What I have tried:Though I've been through websites which discuss on creating chm files, or converting word document to a chm file through third party...
17 Feb 2016 by Member 11670657
Hi All, I have a problem regarding localizaiotn. i use asp.net mvc solution. i have use following code with localization part.@Ajax.ActionLink("@Html.Localize('caseAction_backToIssuedList')", "LoadDebtorInfoBack", new { ...
17 Feb 2016 by Member 11670657
finally i got the answer @Ajax.ActionLink(""+@Html.Localize("caseAction_backToIssuedList")+"", "LoadDebtorInfoBack",
24 Feb 2016 by Member 11670657
Hi,I have Asp.net mvc 4 solution. So, i have used to nuget localization package to localize my application. it is working fine on .cshtml file as below example.@Html.Localize("systemName")above "systemName" is the key. It may have different values according to language.And...
1 Aug 2018 by Member 13926859
i want to locate someone using a keyword that i will send him with an sms like the application of where is my phone i will give an example i have to personne that they have my app of location the first one will send an sms to the other one the content of the sms is a keyword ex ("get...
5 Dec 2022 by Member 15855360
If you used same name in model than this conflict has to be come. Example: - if you used SupplierType and suppliertype in same model than it shows an error like that An item with the same key has already been added . Sujata Maurya reply on...
27 Aug 2015 by Member 3889407
I am doing an enhancement on an application that uses a CDateTimeCtrl, CMonthCalCtrl and SysDateTimePick32.The new requirement is to localize the CDateTimeCtrl, CMonthCalCtrl, SysDateTimePick32 to the Brazilian Portuguese locale such that these controls should show the day and month names in...
12 Aug 2016 by Member 4530872
I am implementing i18n to my project in c++ using GNU xgettext, Xcode. The situation is as followsFileOne.cpp void somefunction() { string file = “fileName"; loggerClass.addlog(gettext_args(“some %s missing “, file)); }FileTwo.cpp void someOtherfunction() {...
6 Jun 2015 by Member 8151951
PROBLEM:From a MVC web-app I want to localize ASP.NET Identity Resource.resx (x2) {name}Validator.cs ErrorMessages; see https://aspnetidentity.codeplex.com/SourceControl/latest#src/Microsoft.AspNet.Identity.Core/Resources.resx for keys/values requirements (fields). *****BACKGROUND:Here...
7 Mar 2016 by Meriem Sh
I am developing an Android application that would allow me to show on a map (NOT google map) some features (points and circles).All solutions in internet use GeoTools but it's not what i want.There is another solution???What I have tried:So i tried to use OpenGL but it help me just to...
8 Dec 2011 by Michael Groeger
I am trying to control whether digits get displayed as native digits on systems having an arabic culture.To be precise, I try to avoid using native digits, because the display string contains a value that is identifying a radio access technology: 3G.But the DigitSubstitution property...
16 Nov 2011 by Michael Hodel
Enigma Puzzle – a game as difficult as the Rubik's cube
14 Dec 2011 by mmvr2k11
Hi,I would like to change my web site from one language to other languages i.e English to German, French, Hindi, etc.If anybody knows please help me.Thanks in advance.
14 Dec 2011 by Mohankumar.Engain
refer this link.http://msdn.microsoft.com/en-us/library/bz9tc508.aspx[^]