Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
drupal translation
Hello. I have installed drupal-7.16 successfully on a localhost running Vector Linux 7. I use lighttpd.
I installed a British language package, specifically drupal-5.20.en-gb.po, which I put in the profiles/standard translations directory. This seemed to work during the installation, but all words are spelled with en-US (IE, color"). Is there something else I need to do? I tried running various things in Home » Administration » Configuration » Regional and language (IE, the Translate interface), but this did nothing.
In case there was something wrong with the en-gb file, I also downloaded and installed the French language translation, to see if that could work. It did not.
Check $LANG. Is it set to en_GB or en_GB.utf8? If instead it is set to en_US<something> that could be the reason as gettext translates the text strings according to $LANG.
Furthermore the .mo file are used for the run-time translation, not the .po ones, so .po should be first compiled with the 'msgfmt' command if is not directly provided.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Original Poster
Rep:
Quote:
Originally Posted by Didier Spaier
Check $LANG. Is it set to en_GB or en_GB.utf8? If instead it is set to en_US<something> that could be the reason as gettext translates the text strings according to $LANG.
It still isn't working. I think the file is just too old. It's version 5.20, whereas Drupal is now 7.16. The French one, which I tried just to test, is version 7.16, and it worked fine when it was added at the beginning of the install using Drupal's provided install instructions (which failed when I tried with the en-GB one).
Quote:
Originally Posted by Didier Spaier
Furthermore the .mo file are used for the run-time translation, not the .po ones, so .po should be first compiled with the 'msgfmt' command if is not directly provided.
See if a translation of this Drupal version is available in your language of choice on the translation server. Not all languages are available for every version of Drupal, but if yours is available, follow these steps to install Drupal in your language:
The translation I was hoping for (en-GB) is not available for the latest Drupal (7.16). So, it's either Wordpress or Joomla, both of which do provide either en-CA or at least en-GB.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.