Jump to content

Navigation menu

Note: Currently new registrations are closed, if you want an account Contact us

Difference between revisions of "Localization and Internationalization"

Line 11: Line 11:
comment6, http://www.livevideo.com/Sildenafil4 sildenafil,  >:-), http://www.livevideo.com/Sildenafil5 sildenafil tablets offers,  sthzs, http://bham.academia.edu/AzithromycinWithoutPrescription purchase azithromycin,  6523, http://www.videojug.com/user/pepcid pepcid,  >:-DD, http://www.videojug.com/user/lansoprazole lansoprazole,  qhy,
comment6, http://www.livevideo.com/Sildenafil4 sildenafil,  >:-), http://www.livevideo.com/Sildenafil5 sildenafil tablets offers,  sthzs, http://bham.academia.edu/AzithromycinWithoutPrescription purchase azithromycin,  6523, http://www.videojug.com/user/pepcid pepcid,  >:-DD, http://www.videojug.com/user/lansoprazole lansoprazole,  qhy,


==Localization==
comment1, http://wiki.obgyn.net/account/Ephedra buy ephedra online,  =-OOO, http://wiki.obgyn.net/account/Phendimetrazine buy phendimetrazine,  cvnk, http://gravatar.com/cheapcigarettes4 buy cheap cigarettes,  8]], http://www.stanford.edu/group/voxclara/cgi-bin/?q=content/antibiotics-without-prescription antibiotics without prescription,  8-OO, http://www.stanford.edu/group/voxclara/cgi-bin/?q=content/buy-cheap-birth-control-pills-order-birth-control-pills-online-no-prescription birth control pills,  8O,
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