FAUST compiler  0.9.9.6b8
Functions
doc_lang.hh File Reference
#include <iostream>
#include <fstream>
#include <sstream>
#include <map>
#include <string>
Include dependency graph for doc_lang.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void loadTranslationFile (const string &lang)

Function Documentation

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" );
    }
}

Here is the call graph for this function:

Here is the caller graph for this function: