marcosupport wrote:Hello andregs,
First of all, you shouldn't remove the English translation for two reasons: First, when upgrading ProcessMaker it is necessary to have the English tranlslation because this translation is the most complete of all translations the other translations take some time to be updated.
However, you can avoid the English translation to be displayed in the dropdown without remove it, follow these instructions:
[*]Edit the login.xml file
[*]look up for this line:
[code]SELECT LAN_ID, LAN_NAME FROM LANGUAGE WHERE LAN_ENABLED = '1' ORDER BY LAN_WEIGHT DESC[/code]
and add this:
[code]SELECT LAN_ID, LAN_NAME FROM LANGUAGE WHERE LAN_ENABLED = '1' AND LAN_ID <> 'en' ORDER BY LAN_WEIGHT DESC[/code]
[*]Remove the compiled cache and try again ProcessMaker
That should solve the problem, I hope that answers the question.
Hi, Marco. Thanks for that tip.
Unfortunately, it seems things are different in the new pmos-2.0. Take a look at the sql in D:\pmos-2.0-1\workflow\engine\xmlform\login\login.xml
Code: Select all
SELECT LANG_ID, LANG_NAME FROM langOptions
How can I implement your tip in the new pmos?