You are here

alfresco apache

Alfresco Share: force a specific interface language

Alfresco Share always shows its interface in the language requested by the user's browser. That's usually fine but sometimes we prefer to get everything in English, it makes writing and finding documentation easier.

We can force Alfresco to use a specific language by using Apache mod_header. First, configure an Apache virtualhost as outlined in my previous post.

Then, enable the headers module:

a2enmod headers

Add the following before the "RewriteEngine on" statement in /etc/apache2/sites-available/alfresco-reverse-proxy:

RequestHeader set Accept-Language: en

And finally reload Apache:

/etc/init.d/apache2 reload

This will add or replace an "Accept-Language: en" header in all HTTP requests.

Subscribe to RSS - alfresco apache