#include <iostream>#include <fstream>#include <sstream>#include <map>#include <string>Go to the source code of this file.
Functions | |
| void | loadTranslationFile (const string &lang) |
| void loadTranslationFile | ( | const string & | lang | ) |
First ensure that the default file is loaded a least.
Then try and load the target file.
Definition at line 76 of file doc_lang.cpp.
References gDocTextsDefaultFile, importDocStrings(), initDocAutodoc(), initDocMath(), initDocMetadatas(), and initDocNotice().
Referenced by printDoc().
00077 { 00078 initDocMath(); 00079 initDocNotice(); 00080 initDocAutodoc(); 00081 initDocMetadatas(); 00082 00084 importDocStrings(gDocTextsDefaultFile); 00085 00087 if ( ! lang.empty() ) { 00088 importDocStrings( "mathdoctexts-" + lang + ".txt" ); 00089 } 00090 }
1.6.3