Multilanguage attributes in CE/PE/EE

Perhaps many of you already got this problem and have found a solution for it, but for those that still searching for one:

Bug description:
If you have an article in 2 or more different languages and want to assign attributes to it, you might have problems doing this. In all languages you can only edit the attributes in the default language.

The Solution:

In the file: out/admin/tpl/article_attribute.tpl you have to change the part

[{oxhasrights object=$edit readonly=$readonly }]
          <input type="button" value="[{ oxmultilang ident="ARTICLE_ATTRIBUTE_ASSIGNATTRIBUTE" }]" class="edittext" onclick="JavaScript:showDialog('?cl=article_attribute&aoc=1&oxid=[{ $oxid }]');">
          [{/oxhasrights}]

into

[{oxhasrights object=$edit readonly=$readonly }]
          <input type="button" value="[{ oxmultilang ident="ARTICLE_ATTRIBUTE_ASSIGNATTRIBUTE" }]" class="edittext" onclick="JavaScript:showDialog('?cl=article_attribute&lang=[{$editlanguage}]&aoc=1&oxid=[{ $oxid }]');">
          [{/oxhasrights}]

This works for the selection list too. Just add

lang=[{$editlanguage}]

as get parameter in the showDialog() function.

Hello pavel_mih,

I think this bug entry is related:
https://bugs.oxid-esales.com/view.php?id=1414

I linked this forum entry in the notes. Thanks for that! :slight_smile: