Create A Multi Lingual Menu

It is possible to localise each link in the menu within Menu Builder. It is important to bear in mind that maintaining the menu in multiple languages may require a fair amount of upkeep and it is recommended that only one or two key content manager or Administrators to manage the menu.

 

Step 1: Editing Menu

Navigate to Menu Builder and select menu to edit. (typicaly it is called main_menu).
Please note that you must have permission to edit menu, check your permission in Admin > Menu Builder.

 

 

Step 2: Adding Localisation Key to the Menu Item

Click on "Edit Content" tab to see all menu item and click on the item you wish to localise.
insert the following key into the 'Item title' field replacing linkname with a symbolic name of the link and LinkName with the default phrase for the link

see example below:

@{menu.app.linkname|LinkName} 

 

Perform this to all menu item you wish to localise

 

Step 3: Create a localised menu

Navigate to Admin > System > Localisation

Then click on Core Apps localisation as indicated

 

Step 4: Adding Localisation Phrase

Right-click anywhere on the list and select "Add phrase"

A pop up window will open and Select PHP/JS(lm) and insert the key you have created within Menu Builder key field without @{|} or the link name see example below

Insert the translations into the relevant fields and don't forget to click "Save"

Repeat step 4 for other menu items

 

Step 5: Clear Cache!

For a good measure and make sure that everyone is seeing a new localised menu, you need to clear cache on the server this can be done by going to Admin/System/Labs and click on Delete all caches or Delete localisation cache.

 

 

 

For Claromentis version before 8.2 follow the instruction below:

Navigate to address below by replacing https://yourintranet.com with your actual intranet address 

https://yourintranet.com/intranet/admin/utils/index.php

Select "Edit all localisation message and save changes to custom file".

Please note that you need to have access to Sysadmin Panel  in order to access Claromentis Maintenance Utilities page

 

 

 

 

If you need to edit existing localisation file select "Edit localisation messages on custom file and don't forget to hit "Save" at the bottom of the page.

 

 

Last modified on 1 December 2023 by Hannah Door

Was this helpful?  

Share