Title: How to translate the portal Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. The labels in the portal are maintained in [Resource Bundles][1]. The default language of the portal is English. In this example you are going to add french translations to the portal. ##1) Get Rave There are multiple ways to build your custom Apache Rave instance, but the quickest is to use a Maven WAR overlay. See [Extending Rave](rave-extensions.html) for an example overlay. ##2) Add your translation - Create a file `messages_fr.properties` in `src/main/resources`. - Copy the contents from the [default language file][2] into your new file - Translate the values ##3) Build and test Build your custom Apache Rave project and deploy it. You will see the French translations in the portal if the preferred language of your browser is French. ![Setting French as preferred language in Firefox](/images/screenshot_preference_preferred_language.png) [1]: http://download.oracle.com/javase/tutorial/i18n/resbundle/concept.html [2]: http://svn.apache.org/repos/asf/rave/trunk/rave-portal-resources/src/main/resources/messages.properties