Is there a way to make legend labels two lines to accommodate multiple languages?

2075
4
01-22-2021 08:34 AM
Labels (2)
Vinestone
New Contributor

I'm creating a legend for a map which needs to have content in two languages. If I have the labels on the same line, then it make the legend too wide. Is there a way to have each legend label be two lines, one for each language? I've induced images to illustrate what my legend currently looks like, and what I would like for it to look like. Of course, if I make the label names two lines, then the associated symbols will need to be centered between them.

Does anyone know if this is possible, and if so, how? Any advice is appreciated!

Tags (3)
0 Kudos
4 Replies
Robert_LeClair
Esri Frequent Contributor

Vinestone - so I think I've got close to want you want to do.  The first thing I did was change the "arrangement" parameter in the Legend Item group (see legend.jpg) and changed the arrangement to "Description/Legend/Patch".  Second, I went to Legend Arrangement Options in the Legend dropdown item and changed the Word Wrapping - Labels to 1 inch.  Then my legend shows in the legend2.jpg.  I'm not sure how longer descriptions will impact this behavior but it's a start.
Legend.JPGLegend2.JPG

TomBole
Esri Regular Contributor

Hi Vinestone, 

Unfortunately, there is is nothing currently in the UI that would allows a multiline label. I think Robert (thanks, Robert!) provided the best workaround outside of using python to create your own legend. 

Tom

0 Kudos
AubriKinghorn
Esri Contributor

If you are symbolizing your data with the Unique Values renderer, the Description property supports multi-line text. However, most other renderers don't have a Description property. You can learn more about Unique Values here: https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/unique-value.htm 

AubriKinghorn_0-1611617690653.png

 

CarineYvaneTSOUNGUI
New Contributor

Hello

The solution is :

- when you do a symbology by unique values in the properties of the shapefile in the table of content, you cut all text in the column of "label" after clicking on "add all values". Then, for each line of symbology, you create a "description" where you will paste the text you have cut. The first line in the first language and the second line in the second language. In the descritption window, if you want to go on the next line, it is Ctrl+Enter

 

- after creating your descritption, create normaly your legend. In the properties of the legend, go to "items", then on double click on the name of the shapefile you are working on, and then be check "show descriptions".....OK..... OK

 

This last step will make your description seems to be labels just next symbol, but in 2 lines.

0 Kudos