Author Topic: Language problem with the date available in the administration  (Read 364 times)

Ventsi Genchev

  • Jr. Member
  • **
  • Posts: 265
    • Audio Store
Language problem with the date available in the administration
« on: December 17, 2018, 16:53:07 pm »
Virtuemart 3.4.3.9975
Joomla 3.9.1

BackEnd > Product Manage > Product Status > Availability Date
Once a date is selected (e.g. January 1, 2019)

Language of Administration - English = Availability Date: 01/01/19
Language of Administration - Bulgarian = Availability Date: м/д/г (The starting letters of month/date/year)

Only three letters. No date.

Bulgarian Language Inspecting:

Code: [Select]
<td>
 <input class="datepicker-db" id="product_available_date" type="hidden" name="product_available_date" value="2019-01-01 00:00:00">
 <input id="product_available_date_text" class="datepicker" type="text" value="м/д/г">
 <span class="vmicon vmicon-16-logout icon-nofloat js-date-reset"></span>
</td>
No pain, no gain, no site!

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3451
  • using Matomo instead of Google Analytics
Re: Language problem with the date available in the administration
« Reply #1 on: December 17, 2018, 20:14:41 pm »
What happens if you replace the line 331 in your-root\administrator\components\com_virtuemart\language\bg-BG\bg-BG.com_virtuemart.ini:
COM_VIRTUEMART_DATE_FORMAT_INPUT_J16="м/д/г"
with
COM_VIRTUEMART_DATE_FORMAT_INPUT_J16="m/d/y"
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Ventsi Genchev

  • Jr. Member
  • **
  • Posts: 265
    • Audio Store
Re: Language problem with the date available in the administration [SOLVED]
« Reply #2 on: December 17, 2018, 21:55:36 pm »
What will happen? Christmas miracle.
In my case, according to the country it is better to be "d/m/y".

Perfect. Thank you, jjk!
No pain, no gain, no site!