Discussion about the internationalization and localization of ProcessMaker

Moderators: ArturoRobles, ArturoRobles

#11032
Hi,

In our company, it's imperative that our systems only support the portuguese language, so we need to disable the processmaker english language. How can we do that?

We need to remove the language dropdown from the login page, and redirect users from "/sys/en/green/" URL to "/sys/pt/green/".

Could you please help us here?

Thanks in advance,
#11409
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 mcedit /opt/processmaker/workflow/engine/xmlform/login/login.xml [*]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.

Best regards,
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?

Thank you,

Hello, I'm trying to make a HTML page in which a[…]

IOS PUSH Notification

Latest Mobileios.pem already get its SSL cert expi[…]

Enabling SQL Server in Windows

Nice. https://360digitmg.com/india/ethical-hacking[…]

PM 3.5.0 supports MySQL 5.7.X configurations with […]