# Translation variable for admin area not found

**URL:** <https://forum.oxid-esales.com/t/translation-variable-for-admin-area-not-found/94464>\
**Category:** English forums\
**Tags:** oxid6, translations, module, basics\
**Created:** [November 20, 2018, 3:12pm UTC](https://forum.oxid-esales.com/t/translation-variable-for-admin-area-not-found/94464 "2018-11-20T15:12:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![imoleg](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/imoleg/32/1068_2.png) [@imoleg](https://forum.oxid-esales.com/u/imoleg)\
**Post date:** [November 20, 2018, 3:12pm UTC](https://forum.oxid-esales.com/t/translation-variable-for-admin-area-not-found/94464/1 "2018-11-20T15:12:45Z")

</div>

Hello,  
I am new to oxid and I have a problem with my simple module. It works fine except the translation. I have created translations folders ‘de’ and ‘en’ in: my\_module / Application / views / admin / [de/en]

Within each of them I have placed files my\_translation\_lang.php  
and the content looks like this :  
\<?php  
$sLangName = ‘Deutsch’;  
$aLang = [  
‘charset’ =\> ‘UTF-8’,  
‘MY\_MODULE\_VARIABLE’ =\> ‘Test’,  
];

when I try in my .tpl file to use this variable with [{oxmultilang ident=“MY\_MODULE\_VARIABLE”}]  
I get an error message ‘ERROR: Translation for MY\_MODULE\_VARIABLE not found!’  
Does anybody knows the reason?

---

<div class="post-metadata">

**Author:** ![baberowski](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/baberowski/32/1011_2.png) [@baberowski](https://forum.oxid-esales.com/u/baberowski)\
**Post date:** [November 20, 2018, 3:27pm UTC](https://forum.oxid-esales.com/t/translation-variable-for-admin-area-not-found/94464/2 "2018-11-20T15:27:54Z")

</div>

> [@imoleg](#):
>
> each of them I have placed files my\_translation\_lang.php  
> and the content looks like this :

Please clear the tmp folder, not only the smarty folder inside. After that your translations should be shown.

---

<div class="post-metadata">

**Author:** ![system](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/system/32/4245_2.png) [@system](https://forum.oxid-esales.com/u/system)\
**Post date:** [November 20, 2019, 3:27pm UTC](https://forum.oxid-esales.com/t/translation-variable-for-admin-area-not-found/94464/3 "2019-11-20T15:27:57Z")

</div>

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
