Hi.
While I'm exporting products and orders i get english box sizes and date format.
How can I make it in polish?
Thank you,
A
Hi.
While I'm exporting products and orders i get english box sizes and date format.
How can I make it in polish?
Thank you,
A
For date, change the fn_timestamp_to_date function
app/functions/fn.common.php
return !empty($timestamp) ? date('d M Y H:i:s', intval($timestamp)) : '';
For boxes, change field names in the fn_exim_get_box_size function:
app/schemas/exim/products.functions.php
return 'length:' . (empty($shipping_params['box_length']) ? 0 : $shipping_params['box_length']) . ';width:' . (empty($shipping_params['box_width']) ? 0 : $shipping_params['box_width']) . ';height:' . (empty($shipping_params['box_height']) ? 0 : $shipping_params['box_height']);
For date, change the fn_timestamp_to_date function
app/functions/fn.common.php
return !empty($timestamp) ? date('d M Y H:i:s', intval($timestamp)) : '';For boxes, change field names in the fn_exim_get_box_size function:
app/schemas/exim/products.functions.php
return 'length:' . (empty($shipping_params['box_length']) ? 0 : $shipping_params['box_length']) . ';width:' . (empty($shipping_params['box_width']) ? 0 : $shipping_params['box_width']) . ';height:' . (empty($shipping_params['box_height']) ? 0 : $shipping_params['box_height']);
Thank you for response.
As i se in this function:
i cang change order of daays , months , hours and so on. but the question was releted to months https://prnt.sc/up6184 becosue its showing "sep" instead of "wrz" as for wrzesien.
You should extend this function to add polish month names
I aso changed this second part but its partialy changed and partialy not? https://prnt.sc/up624d why is that?
Not sure why it works like that. Examination is required