-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: jayaveer
Message 7 in Discussion


thanks for the solution i will work it out 


  -----Original Message-----
From: venkat 
  [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 3:41 
  PM
To: 'BDOTNET'
Subject: Re: How to make a Vb.Net 
  Application in all Locales(french,German.....)


  
    
      
      New Message on BDOTNET
    
      

  How to 
    make a Vb.Net Application in all 
    Locales(french,German.....)


    
      
      
        Reply

        
          
            
            
               
              Reply to Sender   Recommend 
              Message 5 in 
                Discussion 
      
        
          
            
            
              From: venkat 
            
              
To make ur application, localization 
                dynamically without touch your code,
for that you need to 
                write. Satellite assembly (nothing but resources file
other 
                then nothing ). The basic steps involved is

1. Create the 
                sample application (vb.net / c#)
2. Create new fallback 
                resources Name the resources. - rightclick the
project -> 
                add new items -> select resource file name it as MyResource 
                then
this will create the file as 
                MyResources.resx

fill the field in the resx file is name 
                value pair.

in the code include. I am writing (C# 
                code).

3. using System.Reflection
using 
                System.Threading
using 
                System.Resource

Thread.CurrentThread.CurrentUICulture = 
                Thread.CurrentThread.CurrentCulture;
ResourceManager rsmgr = 
                new 
                ResourceManager(
Namespace_name.defaultCultureName,Assembly.GetExecutingAssembly);

Console.Writeln("The 
                name is " +rsmgr.GetString("Name of the resx file 
                field
name"); 

~ This will give you default 
                culture.

Then You have to do following steps to create 
                satellite assembly.

Create text file for new locale (for 
                French fr-FR) name it as
MyResourse.fr.txt
eg : the 
                MyResource.fr.txt is

Name = Venkat.
Address = 
                Bangalore 
--
--
---

convert the .txt file to 
                resources file using the following step.

> resgen 
                MyResourse.fr.txt MyResourse.fr-FR.resources

making to 
                satellite assembly.

> al /t:lib /embed: 
                MyResourse.fr-FR.resources, 
                Application
Name.defaultCultureName.fr-FR.resources 
                /culture:fr-FR
/out:Application.resources.dll

This 
                will create Application.resources.dll 

> Go to your 
                bin directory \debug create new directory on your culture 
                name
and copy that dll into there.
i.e 
                bin\debug\fr-FR\Application.resources.dll

Now go to 
                start->control panel->Region setting and change to 
                French-FRANCE
and run the application.

That 
                all...

Have 
                fun....

regards,
venkat.









-----Original 
                Message-----
From: jayaveer 
                [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 
                22, 2004 5:19 PM
To: [EMAIL PROTECTED]
Subject: How 
                to make a Vb.Net Application in all 
                Locales(french,German.....)



<http://c.msn.com/c.gif?NC=9523&NA=34131&PS=&PI=26283&DI=416&TP=http://group
s.msn.com> 
                
<http://sc.groups.msn.com/themes/R9c/pby/img/mail/mlstar.gif> 
                New
Message on BDOTNET <http://groups.msn.com/BDOTNET> 
                
<http://sc.groups.msn.com/img/R9c/c.gif> 
                



<http://groups.msn.com/BDOTNET/_notifications.msnw?type=msg&action=showdiscu
ssion&parent=1&item=11544> 
                How to make a Vb.Net Application in 
                all
Locales(french,German.....)



<mailto:[EMAIL PROTECTED]
t%20Application%20in%20all%20Locales%28french%2CGerman%2E%2E%2E%2E%2E%29>
Reply
<http://sc.groups.msn.com/img/R9c/c.gif> 
                

<mailto:[EMAIL PROTECTED]
%2ENet%20Application%20in%20all%20Locales%28french%2CGerman%2E%2E%2E%2E%2E%2
9> 
                Reply to 
                Sender
<http://groups.msn.com/BDOTNET/_notifications.msnw?type=msg&action=recommend
&parent=1&item=11544> 
                Recommend Message 1 in Discussion 

From: 
                <http://groups.msn.com/BDOTNET/profile?user=jayaveer%E2%9C%93>
jayaveer 
                




Hai Every one,
Can any one please explain 
                me how can I develop an application
such that I can change my 
                language dynamically example: French,German and so
onn.Will 
                VB.NET automatically converts the default Language English to 
                our
desired languages(French or German) ????. Please guide me 
                how to achieve
this
Waiting for the solution and thanks in 
                advance

Regards, 

Jayaveer.B 
Software Engineer 
                
============================================================================
============ 
                
Sobha Renaissance Information Technology Private Limited 
                
An SEI-CMM Level 5 Company 
ISO 9001:2000 Certified by 
                T�V Rheinland/Berlin-Brandenburg 
Tel: + 91 80 5213190 ; Fax: 
                + 91 80 5213191; Video Conference: + 91 80
5209320 
                
Email:[EMAIL PROTECTED]; Web: 
                www.renaissance-it.com 
                
==================================================================== 
                
The information transmitted is intended only for the person 
                or entity to
which it is addressed and may contain 
                confidential and/or privileged
material. Any review, 
                retransmission, dissemination or other use of, or
taking of 
                any action in reliance upon, this information by persons 
                or
entities other than the intended recipient is prohibited. 
                If you received
this in error, please contact the sender and 
                delete all copies from 
                any
computer




____________________________________________________
<http://www.incredimail.com/redir.asp?ad_id=709&lang=9> 
                IncrediMail -
Email has finally evolved 
                -
<http://www.incredimail.com/redir.asp?ad_id=709&lang=9> 
                Click
Here<IncrdiX-Info><X-FID>BA285063-5BCE-11D4-AF8D-0050DAC67E11</X-FID><X-FVER
>2.0</X-FVER><X-FIT>Letter</X-FIT><X-FCOL>Elegant
Paper</X-FCOL><X-FCAT>Stationery</X-FCAT><X-FDIS>Rice
Fields</X-FDIS><X-Extensions>SU1CTDEsNDYsgUmBSTAkkcGNgZmVTY0wNCxNhYUoiU0kOME
oTYGBjYEoJDSZnSyFhUmBSYFJgSxJTUJMMiwwLCxJTUJMMywwLCxUeXBlVmVyc2lvbiwzLDEuMCw
=</X-Extensions><X-BG>[EMAIL PROTECTED]</X-BG><X-BGT>repeat</X-BGT><X-
BGC>#eff3f7</X-BGC><X-BGPX>left</X-BGPX><X-BGPY>top</X-BGPY><X-ASN>ANIM3D00-
NONE-0000-0000-000000000000</X-ASN><X-ASNF>0</X-ASNF><X-ASH>ANIM3D00-NONE-00
00-0000-000000000000</X-ASH><X-ASHF>1</X-ASHF><X-AN>6486DDE0-3EFD-11D4-BA3D-
0050DAC68030</X-AN><X-ANF>0</X-ANF><X-AP>6486DDE0-3EFD-11D4-BA3D-0050DAC6803
0</X-AP><X-APF>1</X-APF><X-AD>C3C52140-4147-11D4-BA3D-0050DAC68030</X-AD><X-
ADF>0</X-ADF><X-AUTO>X-ASN,X-ASH,X-AN,X-AP,X-AD</X-AUTO><X-CNT>;</X-CNT></In
crdiX-Info><IncrdiXMLRemarkEnd-->">

View 
                other groups in this 
                <http://groups.msn.com/Browse?CatId=26> 
                category.


<http://global.msads.net/ads/defaultads/TR.gif?C=P&E=10&N=A04> 
                

Also on 
                MSN:
<http://g.msn.com/2GRENUS/2_8085_01> Start 
                Chatting |
<http://g.msn.com/2GRENUS/2_8085_02> Listen 
                to Music |
<http://g.msn.com/2GRENUS/2_8085_03> House 
                & Home |
<http://g.msn.com/2GRENUS/2_8085_04> Try 
                Online Dating |
<http://g.msn.com/2GRENUS/2_8085_05> 
                Daily Horoscopes 
                

<http://sc.groups.msn.com/img/R9c/c.gif> 
                



To stop getting this e-mail, or change how often 
                it arrives, go to 
                your
<http://groups.msn.com/BDOTNET/_emailsettings.msnw> 
                E-mail Settings. 

Need help? If you've forgotten your 
                password, please go 
                to
<http://groups.msn.com/_passportredir.msnw?ppmprop=help> 
                Passport Member
Services. 
For other questions or 
                feedback, go to our 
                <http://groups.msn.com/contact>
Contact Us page. 
                

If you do not want to receive future e-mail from this 
                MSN group, or if you
received this message by mistake, please 
                click the "Remove" link below. On
the pre-addressed e-mail 
                message that opens, simply click "Send". Your
e-mail address 
                will be deleted from this group's mailing list. 
                
<mailto:[EMAIL PROTECTED]> Remove my 
                e-mail address from
BDOTNET. 
      


View other groups in this 
    category. 

____________________________________________________
  
IncrediMail - Email has finally evolved - Click 
Here

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to