address / pre titles showing up in english instead of the side language

  • Posts: 103
  • Thank you received: 5
5 years 10 months ago #302998

-- HikaShop version -- : 4.0.2

please have a look in my screencast:

This message contains confidential information

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
5 years 10 months ago #302999

Hi,

Could you provide a screenshot of the settings of the address_title custom field when you edit it via the menu Display>Custom fields ?

Please Log in or Create an account to join the conversation.

  • Posts: 103
  • Thank you received: 5
5 years 9 months ago #303056

this is my config of the address_title:



i thought that would be translate able, because i have in my language file this lines (german):
HIKA_TITLE_MR="Herr"
HIKA_TITLE_MRS="Frau"
HIKA_TITLE_MISS="Fräulein"
HIKA_TITLE_MS="Ms"
HIKA_TITLE_DR="Dr."
HIKA_TITLE_DI="DI"

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
5 years 9 months ago #303098

Hi,

I personally tested translation overrides for the address_title values for different languages and it works just fine.
I don't see why that wouldn't work for you unless :
- you have these translations keys again somewhere else after in the translation file or in the override and in English
- you have an error in your translation file leading to the translations not being loaded and because of that, it uses the default english language translations
- you have falang and you configured translations for the values of the custom field via the falang interface and you set the english version.

Please Log in or Create an account to join the conversation.

  • Posts: 50
  • Thank you received: 7
  • Hikashop Business
5 years 1 month ago #312190

Hi,

same issue here, only 'address_title' is not translated in address block on option=com_hikashop&ctrl=address. On other parts on the webite the transation works fine, even if i click on the 'edit' button, the select field is translated fine. After saving, it shows 'Mr' or 'Mrs' again. The problem happens only with the address block (address / address_template.php).

Iv'e replaced this template with the stanrd one on www.hikashop.com/support/documentation/1...ashop-view-form.html , still the same.

I've checked all your three points in the last post, and couldn't find something.
I've also checked Falang including disable all plugins, there's noting wrong.

Joomla 3.9.12
HikaShop Business 4.2.1

Thank you for your help to solve this issue.

Stefan

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
5 years 1 month ago #312193

Hi,

Thank you for your message.
I had a look again and I think I found the problem.
Try changing the line:

if(in_array($field->field_table,array('address','order','item')))
to:
if(in_array($field->field_table,array('address','order','item')) && in_array($field->field_type, array('text','textarea', 'link', 'wysiwyg')))
in the file administrator/components/com_hikashop/classes/field.php
I think it should fix the problem.
Let me know how it goes so that we can validate the patch on our end too.

Please Log in or Create an account to join the conversation.

  • Posts: 50
  • Thank you received: 7
  • Hikashop Business
5 years 1 month ago #312227

Hi Nicolas,

Thank you for you answer. Unforunately changing the code doesn't fix the problem for me. Do you need some screenshots or access to our backend?

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
5 years 1 month ago #312243

Then, I'm not sure.
Yes, a backend access and a FTP access with precise instructions to reproduce the issue would be great.
You can provide that along with a link to this thread via our contact form:
www.hikashop.com/support/contact-us.html

Please Log in or Create an account to join the conversation.

  • Posts: 50
  • Thank you received: 7
  • Hikashop Business
5 years 3 weeks ago #312721

After installing HikaShop Business 4.2.2 it works like expected.
Thank you for your help.

Please Log in or Create an account to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum