Discussion

Changing Language Interface, Date Format and Currency in ProjectLibre

May 2, 2016 - 23:34 pm
admin
22 comment(s)

It gets often asked how to change the ProjectLibre language interface, date format or currency.  I want to thank our community member Alfonso Barbaro from Italy who aggregated a couple good ways to do this.  It really is a pleasure working with a global community and really appreciate the contributions.  ProjectLibre has been translated into 22 languages: English, Korean, French, Ukrainian, Dutch, Persian, Czech, Finnish, Italian, English, Portuguese, Slovak, Galician, Swedish, Hindi, Chinese (Simplified), German, Japanese, Spanish, Russian, Arabic.  We would like additional languages if you can help contact us at info@projectlibre.org   If there are corrections to any existing languages we would appreciate that as well.

 

How to change Language, Date Format and Currency in ProjectLibre

 Windows OS 

How to change:

 Interface Language (e.g. from Italian to English)

 Date format (e.g. mm/dd/yy → dd/mm/yy)

 Coin Type (e.g. $ → €)

Following two solutions, the second one (B) is a bit more complex then the first one (A) but

more flexible:

A) Create a projectlibre.conf file

1. Create a new directory in your User folder:

e.g. C:\Users\YOUR_USER_NAME\.projectlibre (note the . before projectlibre).

2. In the new directory create(*) a text file called "projectlibre.conf" (must be real a ".conf"

file or it will not work).

3. As administrator edit the file and insert the string “locale=en” (without the quotes)

4. Save changes.

This method changes AT ONCE the interface language, coin type and date format

according to chosen the language setting.

(*)Alternatively you can copy a .conf file from an other directory and paste it in the new .projectlibre one. If so

remember to cancel all the previous .conf file contents

 

 

B) If you are MacOS or Linux users we suggest using the first option but for WIndows users use the java launcher option settings:

1. Navigate to your installation directory, lets say C:\Program Files(x86)\ProjectLibre

2. Open, as administrator, in Notepad the "projectlibre.bat" file and change the string:

- from: java -Xms128m -Xmx768m -jar projectlibre.jar

- to the following (note the two lines):

@echo off

java -Xms128m -Xmx768m -Duser.language=en -Duser.country=AU -jar projectlibre.jar

3. Save changes.

You now have set an English language interface, dd/mm/yy date format and $ as coin type.

IMPORTANT: In order to work correctly you have to click the projectlibre.bat file and NOT the

projectlibre.exe (or the previous desktop link to the exe file) file anymore.

(This procedure works also with java 64 bit).

 

22 Comments

July 26, 2016 - 16:28 pm

Hi Sam,

I saw from another of  your posts that you are using Windows 10.

Note that YOUR_USER_NAME represents in fact the user with which you are logged in.

Let's say you are logged in with the user sam.

  1. Start a command prompt (use window search and enter "command" or "cmd")
  2. A window will open (command prompt) and you'll be in your home directory (invitation will look like : 

              Microsoft Windows [Version 10.0.10586]
              (c) 2015 Microsoft Corporation. All rights reserved.

              C:\Users\sam>

  3. Just enter: mkdir .projectlibre

           (This works for administrators and standard users)

          if you then enter the command dir (to list the content of your home directory), you should see .projectlibre among others.

August 25, 2016 - 11:14 am

It says to use option 1 for OSX. OK so I did everything required and in users/kevin/.projectlibre is a projectlibre.conf file with the requisite line.

This does absolutely nothing. 

I am surprised that the date/time/currency settings are not local, but I am even more surprised that there is no settings option for date/tim etc in a Project Schedule application that is, well, based on dates and times. 

Worth asking, for OSX (currently el Capitan - who pick these names) what is the working method to change the date to dd/mm/yyyy, everywhere except the US wants to know. And isn't it logical, small, medium, large. What does the US do, medium, small, large - yeah that makes sense?????

Cheers,

April 8, 2017 - 04:17 am

Just a note, I didn't find any "conf" file but "config" files, these have a XML-like structure, e.g.:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <globalSettings>
    <add key="loggingLevel" value="error"/>
    <add key="maxLength" value="102400"/>
    <add key="truncationLength" value="10240"/>

  </globalSettings>
  <pipelines>
    <model
      id="URL"
      entityName="URL"/>
    <model
      id="AppUri"
      entityName="AppUri"/>
    <model
      id="Email"
      entityName="Email"/>
  </pipelines>
</configuration>

I created this one on the suggested folder:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <globalSettings>
    <locale="EN"/>
  </globalSettings>
</configuration>

Can someone for whom this advice worked please comment on this?

Thanks,

Mhrymlow

 

November 7, 2017 - 22:17 pm

I found out how to get a folder with this name after some struggling.

One has to name the folder ".projectlibre." (without "). The last dot will be removed by Windows automatically. Afterwards I could create the conf file in this directory and the language changed from Spanish to English.

However, yes, "settings" section to change this easier would be nice for a future version of projectlibre.

August 18, 2020 - 22:12 pm

I cannot "findprojectlibre.bat" (or any .bat file for that matter) in the projctlibre folder (Win 10, Project Libre version 1.9.2)...
and yes, system filesa re not hidden.

In reply to by admin

October 29, 2020 - 00:10 am

Sorry, the only option is the "Settings" menu: I am Portuguese, but hate using "Brazilian" Portuguese because many terms are different and I end up having to use a translator anyway, so I prefer using English as my Interface language, but I definitely want Portuguese units and formats.Because I also work occasionally with teams from other countries, sometimes I want to change only the currency.

Having a Project settings or General settings menu would do the trick with (lets hope) no fuss! ;)

October 14, 2020 - 05:01 am

I think that that there is a little confusing about how to make the txt file.
I used the following method and with success.

A) Create a projectlibre.conf file
1. Create a new directory in your User folder:
e.g. C:\Users\YOUR_USER_NAME\.projectlibre (note the . before projectlibre).
2. In the new directory create(*) a text file called “projectlibre.txt”
3. As administrator edit the file and insert the string “locale=en” (without the quotes)
4. Save this file.
5. Change the file name “projectlibre” into ”projectlibre.conf”
5. Safe the changes.
This method changes AT ONCE the interface language, coin type and date format
according to chosen the language setting.
"projectlibre.conf" (must be real a ".conf" file or it will not work).
Greetings Gert

December 3, 2020 - 04:42 am

I've tried 2 things on Windows 10
1) creating a projectlibre.conf in the user directory
2) adding to [JVMOptions] in a projectlibre.cfg file I found in c:\program files\projectlibre\app (this had to be done as administrator, I also know this file is used as if I rename it the application throws errors and doesn't open).

Neither of these options has worked. There is no .bat file any longer, (I'm assuming it was replaced with the .cfg file in /app) at least not that I can find. What am I missing here? I can not for the life of me figure how to make the date format change.

December 4, 2020 - 00:55 am

so, finally got a result from projectlibre.conf when I set it to a different language. However what is frustrating is I can't set the thing to Canadian standard to get the date format I need which is year-month-day. It appears that Projectlibre.conf date format settings are preset and have nothing to do with system settings. Is there a listing of all possible locale settings with their date (and any other formats that matter to folks) formats listed? This would be really helpful.