Тёмный

C# Tutorial - How to create multi language using Resource Manager and Culture Info | FoxLearn 

Fox Learn
Подписаться 95 тыс.
Просмотров 93 тыс.
50% 1

Create multilanguage application in c#, store multiple language in sql database, then you can generate language resource by using resource manager.
Website: foxlearn.com
Through c# examples you can learn the best way to implement multi-language/globalization in large .net.
You can create a table to store your language to play the demo how to make a multi-language application in c#. We will connect to sql database, then allows you to add multiple language to sql database.
Next, create a simple demo multilingual support in c# windows application.
You can c# create language dictionary to store multi language in c# winform.
You can create c# change language at runtime
You should create multi language resource file, then you can create multi language software in c# using c# resource file. Create our application c# multilingual support
I hope so through this video you can learn how to localize windows forms and change the language at runtime c# .net

Опубликовано:

 

21 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 33   
@AmmarTheTrainer
@AmmarTheTrainer 6 лет назад
Voice good , music fine. Code... unable to understand what they are doing.
@FranzTech
@FranzTech 6 лет назад
It Help me alot Thanks very much, from now i can develop all my software in multilanguages GO ADHEAD!
@eddiejairo1459
@eddiejairo1459 3 года назад
i realize it's quite off topic but do anyone know a good website to stream newly released tv shows online ?
@bentonreese8841
@bentonreese8841 3 года назад
@Eddie Jairo I would suggest flixzone. You can find it on google :)
@jasezayden6383
@jasezayden6383 3 года назад
@Benton Reese yup, I have been using Flixzone for years myself =)
@eddiejairo1459
@eddiejairo1459 3 года назад
@Benton Reese thank you, I went there and it seems like a nice service :) I appreciate it !
@bentonreese8841
@bentonreese8841 3 года назад
@Eddie Jairo you are welcome xD
@ALPERADAK
@ALPERADAK 7 лет назад
harikasın hayatım
@theoriginyt4869
@theoriginyt4869 6 лет назад
WOW! Darauf wäre ich niemals gekommen!
@MrRuffythemonkey
@MrRuffythemonkey 4 года назад
Besser ist es mit Bindings zu arbeiten so lässt sich die Sprache on the Fly wechseln
@dineshkumarsathasivam4094
@dineshkumarsathasivam4094 Год назад
I have done the same as you said and in my case, I did Spanish language but after the implementation, some of the content is stillreadreading out in English by the screen reader (NVDA). MY application must be used with a screen reader so how to fix this issue?
@AlizerLeHaxor
@AlizerLeHaxor 4 года назад
how about wpf?
@twitchizle
@twitchizle 4 года назад
ty
@Solodam
@Solodam 6 лет назад
it would be way better to use a database, store the dataset in memory at runtime, then change text using "parameters", and handling them in form extension .localize().
@foxlearn
@foxlearn 6 лет назад
Thank you !
@vladislavshevtsov143
@vladislavshevtsov143 5 лет назад
Hello friend, I need to translate data that store in sql database. Can you advice some resources about how to impenitent it ? Thank you!
@milinddabhade5280
@milinddabhade5280 6 лет назад
hey i want to develop an application in my mother tongue i.e. Marathi language how i can do that all that in only in marathi font waiting for ur response thanks in advance
@chirantanpatel9014
@chirantanpatel9014 8 лет назад
how to SUM Gujarati Numeric Number on DatagridView in C#
@foxlearn
@foxlearn 8 лет назад
+patel chirantan Hi, You can use properties RowCount of the DataGridView. Thanks
@chirantanpatel9014
@chirantanpatel9014 8 лет назад
+Fox Learn Hi, I use Rowcount properties but not SUM gujarati Numeric Number . I also complete SUM Of English Numeric Number
@aggelostzitzifas5146
@aggelostzitzifas5146 8 лет назад
it doesn't work!!!!.... dont pass value in my lbl why???
@foxlearn
@foxlearn 8 лет назад
+Aggelos Tzitzifas Hi, Please check your code again, thanks
@aggelostzitzifas5146
@aggelostzitzifas5146 8 лет назад
+Fox Learn I Work in VS 2010 my code is same like yours i posti here ResourceWriter ren; ResourceWriter rde; private void BtnSave_Click(object sender, EventArgs e) { appData.WriteXml(string.Format("{0}/data.xml", Application.StartupPath)); ren = new ResourceWriter(Application.StartupPath + "/resourse.en-US.resources"); rde = new ResourceWriter(Application.StartupPath + "/resourse.de-DE.resources"); foreach (AppData.LanguagesRow row in appData.Languages.Rows) { ren.AddResource(row.Id, row.English); rde.AddResource(row.Id, row.German); } ren.Generate(); ren.Close(); rde.Generate(); rde.Close(); MessageBox.Show("Succsfully Saved.", "Message", MessageBoxButtons.OK, MessageBoxIcon.Information); } private void Form1_Load(object sender, EventArgs e) { appData.ReadXml(string.Format("{0}/data.xml", Application.StartupPath)); CultureInfo ci = new CultureInfo("de-De"); Thread.CurrentThread.CurrentCulture = ci; Thread.CurrentThread.CurrentUICulture = ci; ResourceManager rm = ResourceManager.CreateFileBasedResourceManager("resource", Application.StartupPath, null); if (rm.GetString("0001") != null) { label1.Text = rm.GetString("0001"); } }
@foxlearn
@foxlearn 8 лет назад
+Aggelos Tzitzifas Hi, You need to generate language resource file. Please check in the debug folder, make sure it's contain the language resource file. thanks
@aggelostzitzifas5146
@aggelostzitzifas5146 8 лет назад
+Fox Learn Thenx A lof for your try i complete the project .Please telme why do somethink like this and dont to load from a database?????
@foxlearn
@foxlearn 8 лет назад
+Aggelos Tzitzifas Hi. Every time you rebuild your project, the resource files will be deleted. So, your application can't find the language resource file, it doesn't change your text. Thanks
@timsmith2525
@timsmith2525 Год назад
The music is SO distracting.
@THANHNGUYEN-ol5ld
@THANHNGUYEN-ol5ld 4 года назад
DO YOU MAKE RU-vid FOR EVERYONE SUPPORTING YOU DENTAL HIHI
@foxlearn
@foxlearn 4 года назад
OK. Thank you !
Далее
GONE.Fludd, ЛСП - Ути-Пути (official video)
03:37
How does .NET Work?
13:28
Просмотров 7 тыс.
C# ADS for TwinCat
12:10
Просмотров 5 тыс.