2016-10-23 21:18:24 +02:00
<!-- HTML header for doxygen 1.8.8 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
<!-- For Mobile Devices -->
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta name = "generator" content = "Doxygen 1.8.12" / >
< script type = "text/javascript" src = "https://code.jquery.com/jquery-2.1.1.min.js" > < / script >
< title > Ewol: Ewol Widget in OpenGl: ewol::translate Namespace Reference< / title >
<!-- <link href="tabs.css" rel="stylesheet" type="text/css"/> -->
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< link href = "customdoxygen.css" rel = "stylesheet" type = "text/css" / >
< link rel = "stylesheet" href = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" >
< script src = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js" > < / script >
< script type = "text/javascript" src = "doxy-boot.js" > < / script >
< / head >
< body >
< nav class = "navbar navbar-default navbar-fixed-top" role = "navigation" >
< div class = "container" >
< div class = "navbar-header" >
< a class = "navbar-brand" > Ewol: Ewol Widget in OpenGl 0.10.0< / a >
< / div >
< div id = "navbar" class = "navbar-collapse collapse" >
< ul class = "nav navbar-nav" >
< li > < a href = "index.html" > Main Page< / a > < / li >
< li > < a href = "pages.html" > Related Pages< / a > < / li >
< li > < a href = "namespaces.html" > Namespaces< / a > < / li >
< li > < a href = "annotated.html" > Classes< / a > < / li >
< li > < a href = "files.html" > Files< / a > < / li >
< / ul >
< ul class = "nav navbar-nav navbar-right" >
< li class = "dropdown" >
< a href = "#" class = "dropdown-toggle" data-toggle = "dropdown" role = "button" aria-haspopup = "true" aria-expanded = "false" >
Link-libs< span class = "caret" > < / span >
< / a >
< ul class = "dropdown-menu" >
< li > < a href = "http://HeeroYui.github.io/lutin" > lutin< / a > < / li >
< li > < a href = "http://atria-soft.github.io/ewol" > ewol< / a > < / li >
2016-10-23 23:20:07 +02:00
< li > < a href = "http://atria-soft.github.io/echrono" > echrono< / a > < / li >
2016-10-23 21:18:24 +02:00
< li > < a href = "http://atria-soft.github.io/etk" > etk< / a > < / li >
< li > < a href = "http://atria-soft.github.io/ejson" > ejson< / a > < / li >
< li > < a href = "http://atria-soft.github.io/exml" > exml< / a > < / li >
< li > < a href = "http://atria-soft.github.io/esvg" > esvg< / a > < / li >
< li > < a href = "http://atria-soft.github.io/egami" > egami< / a > < / li >
< li > < a href = "http://atria-soft.github.io/gale" > gale< / a > < / li >
< li > < a href = "http://atria-soft.github.io/ege" > ege< / a > < / li >
< li > < a href = "http://atria-soft.github.io/elog" > elog< / a > < / li >
< li > < a href = "http://atria-soft.github.io/ememory" > ememory< / a > < / li >
< li > < a href = "http://atria-soft.github.io/enet" > enet< / a > < / li >
< li > < a href = "http://atria-soft.github.io/eproperty" > eproperty< / a > < / li >
< li > < a href = "http://atria-soft.github.io/esignal" > esignal< / a > < / li >
2016-10-23 23:20:07 +02:00
< li > < a href = "http://atria-soft.github.io/etranslate" > etranslate< / a > < / li >
2016-10-23 21:18:24 +02:00
< li > < a href = "http://atria-soft.github.io/zeus" > zeus< / a > < / li >
2016-10-23 23:20:07 +02:00
< li > < a href = "http://musicdsp.github.io/audio-ess" > audio-ess< / a > < / li >
2016-10-23 21:18:24 +02:00
< li > < a href = "http://musicdsp.github.io/audio" > audio< / a > < / li >
< li > < a href = "http://musicdsp.github.io/audio-drain" > audio-drain< / a > < / li >
< li > < a href = "http://musicdsp.github.io/audio-orchestra" > audio-orchestra< / a > < / li >
< li > < a href = "http://musicdsp.github.io/audio-river" > audio-river< / a > < / li >
< / ul >
< / li >
< / ul >
< div id = "search-box" class = "input-group" >
< div class = "input-group-btn" >
< button aria-expanded = "false" type = "button" class = "btn btn-default dropdown-toggle" data-toggle = "dropdown" >
< span class = "glyphicon glyphicon-search" > < / span >
< span class = "caret" > < / span >
< / button >
< ul class = "dropdown-menu" >
< li > < a href = "#" > All< / a > < / li >
< li > < a href = "#" > Classes< / a > < / li >
< li > < a href = "#" > Namespaces< / a > < / li >
< li > < a href = "#" > Files< / a > < / li >
< li > < a href = "#" > Functions< / a > < / li >
< li > < a href = "#" > Variables< / a > < / li >
< li > < a href = "#" > Typedefs< / a > < / li >
< li > < a href = "#" > Enumerations< / a > < / li >
< li > < a href = "#" > Enumerator< / a > < / li >
< li > < a href = "#" > Friends< / a > < / li >
< li > < a href = "#" > Macros< / a > < / li >
< li > < a href = "#" > Pages< / a > < / li >
< / ul >
< / div >
< button id = "search-close" type = "button" class = "close" aria-label = "Close" >
< span aria-hidden = "true" > < / span >
< / button >
< input id = "search-field" class = "form-control" accesskey = "S" onkeydown = "searchBox.OnSearchFieldChange(event);" placeholder = "Search ..." type = "text" >
< / div >
< / div > <!-- /.nav - collapse -->
< / div >
< / nav >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div class = "content" id = "content" >
< div class = "container" >
< div class = "row" >
< div class = "col-sm-12 panel panel-default" style = "padding-bottom: 15px;" >
2016-10-23 23:20:07 +02:00
< div style = "margin-bottom: 15px;margin-top: 60px;" >
2016-10-23 21:18:24 +02:00
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
< / script >
< div id = "main-nav" > < / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < b > ewol< / b > < / li > < li class = "navelem" > < a class = "el" href = "namespaceewol_1_1translate.html" > translate< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
< div class = "title" > ewol::translate Namespace Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a446832260cb780cfa02a8e580cef7f43" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceewol_1_1translate.html#a446832260cb780cfa02a8e580cef7f43" > addPath< / a > (const std::string & _lib, const std::string & _path, bool _major=false)< / td > < / tr >
< tr class = "separator:a446832260cb780cfa02a8e580cef7f43" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a619928b94b408971e7e3aa68ae955790" > < td class = "memItemLeft" align = "right" valign = "top" > const std::string &   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceewol_1_1translate.html#a619928b94b408971e7e3aa68ae955790" > getPaths< / a > (const std::string & _lib)< / td > < / tr >
< tr class = "separator:a619928b94b408971e7e3aa68ae955790" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0a4228b9d122900575d69de6fb8cf263" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceewol_1_1translate.html#a0a4228b9d122900575d69de6fb8cf263" > setLanguageDefault< / a > (const std::string & _lang)< / td > < / tr >
< tr class = "separator:a0a4228b9d122900575d69de6fb8cf263" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5048926a449fef55ff197b4ba46c3846" > < td class = "memItemLeft" align = "right" valign = "top" > const std::string &   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceewol_1_1translate.html#a5048926a449fef55ff197b4ba46c3846" > getLanguageDefault< / a > ()< / td > < / tr >
< tr class = "separator:a5048926a449fef55ff197b4ba46c3846" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:afb5e0bac098964c7999c21ceb2b75dc2" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceewol_1_1translate.html#afb5e0bac098964c7999c21ceb2b75dc2" > setLanguage< / a > (const std::string & _lang)< / td > < / tr >
< tr class = "separator:afb5e0bac098964c7999c21ceb2b75dc2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a78948ed9bd05ccb9763a3517b8eb516e" > < td class = "memItemLeft" align = "right" valign = "top" > const std::string &   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceewol_1_1translate.html#a78948ed9bd05ccb9763a3517b8eb516e" > getLanguage< / a > ()< / td > < / tr >
< tr class = "separator:a78948ed9bd05ccb9763a3517b8eb516e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1c82619cfb0b07c149b7e06718f0abc0" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceewol_1_1translate.html#a1c82619cfb0b07c149b7e06718f0abc0" > autoDetectLanguage< / a > ()< / td > < / tr >
< tr class = "separator:a1c82619cfb0b07c149b7e06718f0abc0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a72a97866a6d77d74fa17cbecd7341172" > < td class = "memItemLeft" align = "right" valign = "top" > std::string  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceewol_1_1translate.html#a72a97866a6d77d74fa17cbecd7341172" > get< / a > (const std::string & _instance)< / td > < / tr >
< tr class = "separator:a72a97866a6d77d74fa17cbecd7341172" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > This is a simple interface to converte application display string in a generic current system language. < / p >
< dl class = "section note" > < dt > Note< / dt > < dd > : The current name of language reprenent the file name, then if you want to get the machine language in an other than generic passed, juste add it. Generic langage char: (all translation might be done in UTF-8 this simplify interface) English : "EN" French : "FR" German : "DE" Spanish : "SP" Japanese : "JA" Italian : "IT" Korean : "KO" Russian : "RU" Portuguese, Brazilian : "PT" Chinese : "ZH" < / dd > < / dl >
< / div > < h2 class = "groupheader" > Function Documentation< / h2 >
< a id = "a446832260cb780cfa02a8e580cef7f43" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a446832260cb780cfa02a8e580cef7f43" > § < / a > < / span > addPath()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ewol::translate::addPath < / td >
< td > (< / td >
< td class = "paramtype" > const std::string &   < / td >
< td class = "paramname" > < em > _lib< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const std::string &   < / td >
< td class = "paramname" > < em > _path< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > bool  < / td >
< td class = "paramname" > < em > _major< / em > = < code > false< / code >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Set the path folder of the translation files. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > _lib< / td > < td > Library name that the path depend < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > _path< / td > < td > ETK generic path (DATA:... or /xxx) < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > _major< / td > < td > This path is the major path (The last loaded, the one which overload all) < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a id = "a1c82619cfb0b07c149b7e06718f0abc0" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a1c82619cfb0b07c149b7e06718f0abc0" > § < / a > < / span > autoDetectLanguage()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ewol::translate::autoDetectLanguage < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Automatic detection of the system language. < / p >
< / div >
< / div >
< a id = "a72a97866a6d77d74fa17cbecd7341172" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a72a97866a6d77d74fa17cbecd7341172" > § < / a > < / span > get()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > std::string ewol::translate::get < / td >
< td > (< / td >
< td class = "paramtype" > const std::string &   < / td >
< td class = "paramname" > < em > _instance< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Translate a specific text (if not find, it will be retured the same text). < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > _instance< / td > < td > Text to translate. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > The tranlated text. < / dd > < / dl >
< / div >
< / div >
< a id = "a78948ed9bd05ccb9763a3517b8eb516e" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a78948ed9bd05ccb9763a3517b8eb516e" > § < / a > < / span > getLanguage()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > const std::string& ewol::translate::getLanguage < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Get the current language loaded. < / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > The 2/3 char defining the language < / dd > < / dl >
< / div >
< / div >
< a id = "a5048926a449fef55ff197b4ba46c3846" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a5048926a449fef55ff197b4ba46c3846" > § < / a > < / span > getLanguageDefault()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > const std::string& ewol::translate::getLanguageDefault < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Get the current language selected. < / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > The 2/3 char defining the language < / dd > < / dl >
< / div >
< / div >
< a id = "a619928b94b408971e7e3aa68ae955790" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a619928b94b408971e7e3aa68ae955790" > § < / a > < / span > getPaths()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > const std::string& ewol::translate::getPaths < / td >
< td > (< / td >
< td class = "paramtype" > const std::string &   < / td >
< td class = "paramname" > < em > _lib< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Get the current paths of the library. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > _lib< / td > < td > Library name that the path depend < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > Path name. < / dd > < / dl >
< / div >
< / div >
< a id = "afb5e0bac098964c7999c21ceb2b75dc2" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#afb5e0bac098964c7999c21ceb2b75dc2" > § < / a > < / span > setLanguage()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ewol::translate::setLanguage < / td >
< td > (< / td >
< td class = "paramtype" > const std::string &   < / td >
< td class = "paramname" > < em > _lang< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Set the language to load data. when no data availlable, we get the default language. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > _lang< / td > < td > Language to load : ("EN" for english, "FR" for french, "DE" for German, "SP" for spanish ...) < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a id = "a0a4228b9d122900575d69de6fb8cf263" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a0a4228b9d122900575d69de6fb8cf263" > § < / a > < / span > setLanguageDefault()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ewol::translate::setLanguageDefault < / td >
< td > (< / td >
< td class = "paramtype" > const std::string &   < / td >
< td class = "paramname" > < em > _lang< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Set the default language to load data (the default language might contain all internal data for the basic application) < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > _lang< / td > < td > Language to load : ("EN" for english, "FR" for french, "DE" for German, "SP" for spanish ...) < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< / div > <!-- contents -->
<!-- HTML footer for doxygen 1.8.8 -->
<!-- start footer part -->
< / div >
< / div >
< / div >
< / div >
< / div >
< hr class = "footer" / > < address class = "footer" > < small >
2016-10-23 23:20:07 +02:00
Generated on Mon Oct 24 2016 15:35:52 for Ewol: Ewol Widget in OpenGl by   < a href = "http://www.doxygen.org/index.html" >
2016-10-23 21:18:24 +02:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
< / a > 1.8.12
< / small > < / address >
< / body >
< / html >