DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   IT Professionals' Lounge (http://www.daniweb.com/forums/forum5.html)
-   -   How to localize the software to my language (http://www.daniweb.com/forums/thread201260.html)

mmangai Jul 2nd, 2009 12:25 pm
How to localize the software to my language
 
Please tell how to localize the open sourcesoftware(that is just translate to my language)by replacing the english with my local language.Any software available?

Salem Jul 2nd, 2009 12:49 pm
Re: How to localize the software to my language
 
http://unixhelp.ed.ac.uk/CGI/man-cgi?gettext+3

Eg.
#include <stdio.h>
#include <libintl.h>
int main ( ) {
  printf( "%s\n", gettext("hello world") );
  return 0;
}

peter_budo Jul 2nd, 2009 1:33 pm
Re: How to localize the software to my language
 
Language dependent, but often it will go down to simple text file from which localized term would be read.
If you can be specific which language you use somebody may be able to point you in right direction

mmangai Jul 3rd, 2009 12:17 pm
Re: How to localize the software to my language
 
Quote:

Originally Posted by peter_budo (Post 906658)
Language dependent, but often it will go down to simple text file from which localized term would be read.
If you can be specific which language you use somebody may be able to point you in right direction

Thanks for reply:)
From english to tamil,malayalam (south indian languages).And can you specify the simple text file(any common name for all software sources which has localized terms.

peter_budo Jul 3rd, 2009 1:29 pm
Re: How to localize the software to my language
 
Quote:

Originally Posted by mmangai (Post 907594)
Thanks for reply:)
From english to tamil,malayalam (south indian languages).And can you specify the simple text file(any common name for all software sources which has localized terms.

Programming language...

Ancient Dragon Jul 3rd, 2009 2:03 pm
Re: How to localize the software to my language
 
I believe most programs contain language-specific dlls for each of the languages they wish to support. If its a MS-Windows gui program then put all the resources in language-specific dll.

mmangai Jul 4th, 2009 6:17 am
Re: How to localize the software to my language
 
Quote:

Originally Posted by peter_budo (Post 907651)
Programming language...

I am using Java :)

peter_budo Jul 4th, 2009 7:42 am
Re: How to localize the software to my language
 
For start yo can have look at Iternationalization. I'm not sure if this will be best solution for you, but as previously mentioned you can create "property" files with localization for given languages (you can have look at Pebble bloging application, where these files are stored in TOMCAT_DIR\WEB-INF\classes).

If this info is not enough please create new thread in Java section

mmangai Jul 5th, 2009 2:37 pm
Re: How to localize the software to my language
 
Quote:

Originally Posted by peter_budo (Post 908158)
For start yo can have look at Iternationalization. I'm not sure if this will be best solution for you, but as previously mentioned you can create "property" files with localization for given languages (you can have look at Pebble bloging application, where these files are stored in TOMCAT_DIR\WEB-INF\classes).

If this info is not enough please create new thread in Java section

Thanks for the information.


All times are GMT -4. The time now is 11:05 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC