joachimruhs / myttaddressmap

Google maps for tt_address
MIT License
0 stars 2 forks source link

Labels from template AjaxLocationList.html are not translated #3

Closed bh-teufels closed 4 years ago

bh-teufels commented 4 years ago

Labels from template AjaxLocationList.html are not translated all are integrated in translation files like: <f:translate key="LLL:EXT:my_template_ext/Resources/Private/Language/translation.myttadressmap.xlf:myttaddressmap.phone" />

in the AjaxSearch.html template the Language has to be add to the ajaxRequestUrl var ajaxRequestUrl = "/index.php?eIDx=myttaddressmap&id=" + id + "&L=" + languageUID

therefore the languageUID has to assigned to the template

i am on Typo3 Version 9.5.20 myttaddressmap Version 1.1.0 using AjaxSearch.html and AjaxLocationList.html

if i put for example the languageUID "hard" into the ajaxRequestURL var ajaxRequestUrl = "/index.php?eIDx=myttaddressmap&id=" + id + "&L=1" i get the translation (for Language Uid 1)

bh-teufels commented 4 years ago

i'm seeing right now version 1.1.1 seems to fix this. i will try and close the issue if this fixes the problem

Thank you

bh-teufels commented 4 years ago

Translations for Labels now working so i close this issue. But the translated categories are all displayed on one location not only the translated. For this i create a new issue