Localization
By default, all buttons just contain icons but no texts. If you prefer text buttons, create an array holding text values according to the samples below, and pass that labels-array as
4th
parameter to the
attach
-function.
No labels (default)
1
|
|
English labels
1 2 3 4 5 6 7 8 9 10 11 12 |
|
Screenshots of English labels
German labels
1 2 3 4 5 6 7 8 9 10 11 12 |
|
Screenshots of German labels
More labels
Feel free to send me your translations. I will be happy to publish them here
Tips
HTML
You can use HTML inside the labels, for example
'ForwardTo' => 'Forward<br />to → %',
This example will render a line-break and a right-arrow.HTML Tags having attributes
When using more complex HTML including tags with attributes, be careful with quotes!
'ForwardTo' => 'Übergeben an<br /><span class="label label-default"><i class="glyphicon glyphicon-user"></i> %</span>',
In this example single quotes'...'
wrap the whole label whereas double quotes"..."
wrap HTML-tag attribute values within the label