gcc - How do i change Console output of compiler -


i want change compiled ( which in english) console output in gcc compiler on linux other local languaue (such hindi, chineese ).. in c/c++ language. please guide me in advance

you need take @ i18n tool gettext. mark text might wish translate @ point macro, _("some text here"), has uses:

  1. allows source code scanned make .pot file of potential translations
  2. calls translate function returns translation if there 1 available or original string otherwise.

you can separate operation , post compilation/delivery translators use .pot file provide .po files specific locales, (language/location combinations), these compiled .mo files can added specified directory structure. @ run time i18n code @ locations try load appropriate translations location clever bit of working exact language & location, language, original text.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -