|
FAUST compiler
0.9.9.6b8
|
#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().
{
initDocMath();
initDocNotice();
initDocAutodoc();
initDocMetadatas();
importDocStrings(gDocTextsDefaultFile);
if ( ! lang.empty() ) {
importDocStrings( "mathdoctexts-" + lang + ".txt" );
}
}


1.8.0