Hi! @asmecher, @gardbeat and @marc…
I also need rather than put PDF (Spanish (Spain)), Which only put PDF.
But I do not know what to change in this function …
Is it possible to help us a little more?
How you should be the “function”?
function getGalleyLabel() {
$label = $this->getLabel();
if ($this->getLocale() != AppLocale::getLocale()) {
$locales = AppLocale::getAllLocales();
$label .= ' (' . $locales[$this->getLocale()] . ')';
}
return $label;
}
I removed is part of the code and it works … but I’m not sure … $label .= ’ (’ . $locales[$this->getLocale()] . ‘)’;
function getGalleyLabel() {
$label = $this->getLabel();
if ($this->getLocale() != AppLocale::getLocale()) {
$locales = AppLocale::getAllLocales();
}
return $label;
}
Thank you very much!
David A.