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:
- allows source code scanned make .pot file of potential translations
- 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
Post a Comment