Jump to content

Locale PT_BR


Wilton Ergon

Recommended Posts


Every time I update unigui, I need to rename the files


\unigui\uniGUI\ext-7.5.1\build\classic\locale\locale-pt_BR.js
to
\unigui\uniGUI\ext-7.5.1\build\classic\locale\locale-pt-BR.js

\unigui\uniGUI\ext-7.5.1\build\modern\locale\locale-pt_BR.js
to
\unigui\uniGUI\ext-7.5.1\build\modern\locale\locale-pt-BR.js


\uniGUI\unim-1.95.0.1576\locale\ext-lang-pt_BR.js
to
\uniGUI\unim-1.95.0.1576\locale\ext-lang-pt-BR.js

 

in file uniGUIApplication.pas

 

procedure TUniGUISession.InitApplication;

line 1970 

    if not SameText(lStr, DEFAULT_EXT_LOCALE) then Language := lStr;
    Language := StringReplace(Language, '_', '-', [rfReplaceAll]);
 

This behavior is old, and has never been corrected.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...