<div dir="ltr"><div>Hi all,</div><div>I'm doing some improvements in the 'Customize Toolbars' plugin but I've come across with a problem that I don't know how to solve.</div><div>If, for example, the user has qgis in Spanish and creates personalized toolbars, everything works fine. But if he changes the language in qgis to English for example, the file that stores the configuration is still written in Spanish and, therefore, as the tools are not translated, they are not loaded.</div><div>Accessing all the translation files seems easy, but my problem is to translate the value obtained from the configuration file because translations work like this:</div><div>translate(const char * context, const char * sourceText, const char * disambiguation = 0) const</div><div><br></div><div>And, obviously, each tool has its own context.</div><div>Is there any way to obtain all the translations?</div><div>Any suggestion is welcome!</div><div>Thanks in advance,</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><font face="arial, helvetica, sans-serif" size="2"><i><span style="color:rgb(51,51,51)">Francisco José Raga López <span style="line-height:20px"> </span><br></span></i></font></div></div></div>
</div>