Language problem with the date available in the administration

Started by Ventsi Genchev, December 17, 2018, 16:53:07 PM

Previous topic - Next topic

Ventsi Genchev

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: м/SPAM/г (The starting letters of month/date/year)

Only three letters. No date.

Bulgarian Language Inspecting:


<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="м/SPAM/г">
<span class="vmicon vmicon-16-logout icon-nofloat js-date-reset"></span>
</td>
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

jjk

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="м/SPAM/г"
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

What will happen? Christmas miracle.
In my case, according to the country it is better to be "d/m/y".

Perfect. Thank you, jjk!
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English