Difference between revisions of "Localization and Internationalization"

Line 11: Line 11:
comment1, http://www.wirelessrerc.gatech.edu/SOT/sot-wireless-emergency-communication-forum/accessibility-of-emergency-alert-system-eas-and-the-commercial-mobile-alert-systems-cmas/848291802 order pain pills,  gobsx,
comment1, http://www.wirelessrerc.gatech.edu/SOT/sot-wireless-emergency-communication-forum/accessibility-of-emergency-alert-system-eas-and-the-commercial-mobile-alert-systems-cmas/848291802 order pain pills,  gobsx,


==Localization==
comment3, http://www.ohloh.net/accounts/Vicodin/ buy vicodin from mexico,  ucspcu, http://www.ohloh.net/accounts/Antibiotics/ buy antibiotics,  %O, http://www.airliners.net/profile/adderall order adderall,  jsb, http://mit.academia.edu/BuyPercocet buy percocet legally,  =(, http://mit.academia.edu/BuyLortab buy lortabs from mexico,  0613,
The process of adjusting internationalized software to a particular locale is called localization.A common acronym for this term is L10N(10 characters in between L and N). You can think of software internationalization as a prerequisite for localization.
The product is first localized for the market where the software is developed. Through localization, you are creating versions of the softwares without modifying source code or binary. This is achieved through externalization of text messages and locale specific images/bitmaps. People working on localization changes these texts/images according to their local language/conventions.
A very simple example is given below in java(Technical details skipped for simplicity).
 
  public class HelloWorld{
    public static void main(String args[]){
        System.out.println("Hello world")
    }
  }
output: Hello world
In the above code "Hello world" is hard coded. We need to externalize that string for localizing the application. Now see the internationalized code:
  import java.util.*;
  public class HelloWorld{
    public static void main(String args[]){
        ResourceBundle resources;
        try{
          resources=ResourceBundle.getBundle("messages");
          System.out.println(resources.getString("Hello world"));
        }catch(MissingResourceException e){
        //error handling code..
        }
    }
  }
And the resourcebundle messages_ml(ml is the ISO language code for Malayalam) contains the following text:
 
Hello world=ലോകമേ നമസ്കാരം
 
Now the output changes to
 
ലോകമേ നമസ്കാരം
 


==Globalization==
==Globalization==
Anonymous user