0

I connect to my Ubuntu server with command line.

I have installed Apache and, with cURL (PHP) I've tried to connect to IMDb and get data from that website.

But some of the data have German titles because of my server (which is in Germany), and I want to load all titles in English language!

I should change my default country but I don't know how to do that in Ubuntu.

I've searched and found these codes :

sudo dpkg-reconfigure tzdata

Any help, please?

Cristiana Nicolae
  • 4,570
  • 10
  • 32
  • 46

1 Answers1

0

First install the English language packs.

sudo apt-get install language-pack-en language-pack-en-base manpages

You then need to execute nano /etc/default/locale and replace the French lines with:

LANG=en_US.UTF-8
LANGUAGE=en_US:en

You can then remove the German langauge pack as thus:

sudo apt-get remove language-pack-de language-pack-de-base manpages-de

Reboot and you should have English as the default.

More info.

Tony Lancer
  • 1,003