Change language for user interface (menus & help files)

Home made tutorials, by users, for users
Forum rules
No question in this section please
For any question related to a topic, create a new thread in the relevant section.
Post Reply
User avatar
Hagar Delest
Moderator
Posts: 32594
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Change language for user interface (menus & help files)

Post by Hagar Delest »

Perhaps you need sometimes to switch the UI language (menus & help files). A good example is to better communicate on English speaking forums, having the right name for each feature or command when your native language or installed version of OOo is not English. Language packs are exactly what you need.

How to use it ?
  • Simply download and run the installer (Windows) or install the package (note that GNU/Linux packages are also in .deb format, check for the deb tag in the file name).
  • Then, to change the UI language, in OOo, go to the menu Tools>Options>Language Settings>Languages. Modify the language in the drop-down list, close OOo and the Quickstarter (in the system tray) if activated and start OOo again.
Location ?
Go to the download page (link bottom right of this page), there is a link that leads directly to the language packs (see Get all platforms, languages, language packs). Search for your language, one row is for the full installer and the second row is for the language pack.

Note that it's easier to install the en-US (default) version and then install your language pack. Especially if you want to communicate in the forum without any translation differences.
Last edited by Hagar Delest on Thu Dec 19, 2013 1:30 pm, edited 14 times in total.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Change language for user interface (menus & help files)

Post by acknak »

Tip:
On Linux (or Unix) you can start a temporary OOo session in a different UI language by specifying the language on a command line. E.g.

Code: Select all

$ LANG=de_DE ooffice
will start OOo with German as the UI & default document language.

From a non-English locale, you could start a temporary English session with:

Code: Select all

$ LANG=en_US ooffice
This can be very convenient for temporarily switching the UI language, rather than going through the Tools > Options menu, with the necessary re-starts.

You must have the language pack installed, as described above, or as packaged by your distribution; if the specified language pack is not installed, OOo will start up in the default locale.

E.g. Installing French language support for OOo under Fedora Linux is as simple as

Code: Select all

$ yum install openoffice.org-langpack-fr
This will automatically install the corresponding dictionary as well.

Notes:
[1] The 'ooffice' 'command is correct for Fedora Linux. Other Linux distributions will probably use a different command name, unfortunately.
[2] This is good for a temporary session only; it does not change any settings.
[3] I haven't tested this under Windows--it may work, but as far as I know, you would have to create a small batch file to set the environment variable.
AOO4/LO5 • Linux • Fedora 23
User avatar
Hagar Delest
Moderator
Posts: 32594
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Change language for user interface (menus & help files)

Post by Hagar Delest »

For Ubuntu or any GNU/Linux system, you can use a desktop launcher to run Writer in English instead of French with a script made executable containing the following lines :

Code: Select all

#!/bin/bash
LANG=en_US.UTF-8 soffice -writer
For Windows, there was a trick but deprecated now for 3.# (with no replacement, see Bernard Marcelly's post below).
Bernard Marcelly wrote:Hello,
I tested these batches with OpenOffice.org 2.2.1 on MS-Windows XP SP2 Home.
I have OpenOffice en-US plus french langpack .

Do not use the Quick starter.
Run the batches with no OpenOffice running, or the change will only be effective at next OpenOffice start.

Open Writer with user interface in FR french:

Code: Select all

@echo off
"C:\Program Files\OpenOffice.org 2.2\program\setofficelang.exe" -f fr-FR
"C:\Program Files\OpenOffice.org 2.2\program\swriter.exe"
Open Writer with user interface in US english:

Code: Select all

@echo off
"C:\Program Files\OpenOffice.org 2.2\program\setofficelang.exe" -f en-US
"C:\Program Files\OpenOffice.org 2.2\program\swriter.exe"
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
User avatar
Hagar Delest
Moderator
Posts: 32594
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Change language for user interface (menus & help files)

Post by Hagar Delest »

First post updated thanks to that thread: Where can I find language packs for OpenOffice.org.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
B Marcelly
Volunteer
Posts: 1160
Joined: Mon Oct 08, 2007 1:26 am
Location: France, Paris area

Re: Change language for user interface (menus & help files)

Post by B Marcelly »

Hi,
Referring to a quote (from me), I have to say that the setofficelang command line tool is deprecated from 3.0.
AFAIK there is no simple way to set the UI language from command line in MS-Windows. See this thread.
______
Bernard
CLS213
Posts: 1
Joined: Tue Jan 20, 2009 9:55 pm

Re: Change language for user interface (menus & help files)

Post by CLS213 »

Hello,

In my school we teach mainly in French and Dutch (Belgium) so we need to change our UI of OpenOffice. I recently upgraded to OpenOffice 3.0 (all our Windows PC's). For changing the UI of OOo 3.0 I written a small script and some batch files to change the language

It's easy

Code of the VBScript

Code: Select all

'*****************************************************************************
'*                     OpenOffice.org v3.0 Taal Kiezer 	                     *
'*                            C.LAEREMANS, 2009                              *
'*****************************************************************************
Option explicit 

'VARIABELEN 
Dim objShell, intAntwoord 

'OBJECTEN
Set objShell = CreateObject("WScript.Shell") 

'CODE 
intAntwoord = msgbox("Démarrer OpenOffice en français ?",vbQuestion + vbYesNo,"OOo français")
if intAntwoord = vbYes then
	objShell.Run "cmd.exe /c ""C:\Program Files\OpenOffice.org 3\lang\langFR.bat""",0
	objShell.Run "cmd.exe /c ""C:\Program Files\OpenOffice.org 3\program\soffice.exe""",0
	'objShell.SendKeys "%",0
else
	intAntwoord = msgbox("OpenOffice starten in het Nederlands ?",vbQuestion + vbYesNo,"OOo Nederlands")
	if intAntwoord = vbYes then 
		objShell.Run "cmd.exe /c ""C:\Program Files\OpenOffice.org 3\lang\langNL.bat""",0
		objShell.Run "cmd.exe /c ""C:\Program Files\OpenOffice.org 3\program\soffice.exe""",0
		'objShell.SendKeys "%",0
	else
		msgbox "Erreur .... " 
	end if
	
end if 

'VERWIJDEREN VAN OBJECTEN 
set objShell = Nothing

Remark: you need 3 " to support lang names of directories in the dos commandprompt. 
Batch file

Code: Select all

c:
cd "C:\Program Files\OpenOffice.org 3\lang" 
copy LinguisticFR.xcu "%userprofile%\Application Data\OpenOffice.org\3\user\registry\data\org\openoffice\Office\"
cd "%userprofile%\Application Data\OpenOffice.org\3\user\registry\data\org\openoffice\Office\"
del Linguistic.xcu
rename LinguisticFR.xcu Linguistic.xcu 
Works fast and verry wel. You must turn the quickstarter of OOo off, if you don't do it the script wouldn't change the language. Maybe in a second release of the script (or program) I add this (if I have the time)
OOo 3.0.X on Ms Windows XP + Linux, Mac OS X
User avatar
RGB
Posts: 1456
Joined: Mon Oct 08, 2007 1:34 am

Re: Change language for user interface (menus & help files)

Post by RGB »

Language packs/localized installers for old versions seems to have disappeared from the mirrors. I spent some time searching for the Spanish langpack for 2.4.2 (someone on the Spanish forums needed it because this is the last version that runs in W98) but I was not able to find it.
In the /archive/extended/ folder (only few mirrors have it, for example this one) I found the rcs for 2.4.1 while in the /archive/localized it is possible to find the localized installers. But there is no trace of 2.4.2
There are two types of people: those who believe that there are two types of people and those who do not.

openSUSE Leap with KDE Plasma / LibreOffice
Bluegates
Posts: 1
Joined: Wed Mar 17, 2010 12:20 pm

Re: Change language for user interface (menus & help files)

Post by Bluegates »

I'm just starting with Open Office and successfully loaded the English version, however as I live in France I needed to add the french language pack. This down loaded really well but there is a BIG but, it seemed to hijack the original down load and so all the controls and instructions now appear in French which is a problem for some of the computer users (windows 7 and computer is divided into 3 users) .

Could any one give me a very simple idiot's step by step guide for returning the 'control' language of Open Office in all its forms (Data bases, word, spreadsheets, paint etc) to UK English - for the times we need to do french documents I set up a 'basic french doc' which other users can then use safely without worrying as I did with MS Office.

Any help would be most gratefully received.
Windows 7 Open office 3.2
User avatar
Robert Tucker
Volunteer
Posts: 1250
Joined: Mon Oct 08, 2007 1:34 am
Location: Manchester UK

Re: Change language for user interface (menus & help files)

Post by Robert Tucker »

Bluegates wrote:Could any one give me a very simple idiot's step by step guide for returning the 'control' language of Open Office in all its forms (Data bases, word, spreadsheets, paint etc) to UK English
Hagar de l'Est wrote:Then, to change the UI language, in OOo, go to the menu Tools>Options>Language Settings>Languages. Modify the language in the drop-down list, close OOo and the Quickstarter (in the system tray) if activated and start OOo again.
LibreOffice 7.x.x on Arch and Fedora.
Post Reply