Good day,
I would need some help with the DatePicker in phoenix 1.0.9.1
I tired of searching after this folder and files and to not find them!
My problen is as following:
In the cart index, [New Products For April] >> Finnish it is [Uudet tuotteet huhtikuuta] and this has the wrong ending.
Ending with huhtikuu[ta] makes NO sense at all, it need to be huhtikuu[ssa]
Please would someone let me know in what folder I can find the Datepicker for finnish language in Version PhoenixCart 1.0.9.1 to change this little miss-spelling.
DatePicker in phoenix 1.0.9.1
-
Richard H.
- Member
- Posts: 5
- Joined: Fri Apr 21, 2023 9:09 am
- Phoenix Version:
- Has thanked: 1 time
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Date Text in phoenix 1.0.9.1
Datepicker is not involved.
/includes/languages/english/modules/content/index/cm_i_card_products.php
You would need to repeat this in your dutch language;
/includes/languages/suomi/modules/content/index/cm_i_card_products.php
Note that since 1.0.8.21 the "for {Month}" piece of text is removed entirely in the index module.
And a "view all" link added.
https://github.com/CE-PhoenixCart/Phoen ... 372a78dcbb
/includes/languages/english/modules/content/index/cm_i_card_products.php
Code: Select all
const MODULE_CONTENT_CARD_PRODUCTS_HEADING = 'Our Latest Products';/includes/languages/suomi/modules/content/index/cm_i_card_products.php
Note that since 1.0.8.21 the "for {Month}" piece of text is removed entirely in the index module.
And a "view all" link added.
https://github.com/CE-PhoenixCart/Phoen ... 372a78dcbb
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: DatePicker in phoenix 1.0.9.1
While I agree with Burt that this is obsolete now, the literal answer is that the month name is provided by strftime (soon to be obsolete too, already deprecated). You'd have to recompile PHP to change it.Richard H. wrote: ↑Mon Apr 29, 2024 8:24 am Please would someone let me know in what folder I can find the Datepicker for finnish language in Version PhoenixCart 1.0.9.1 to change this little miss-spelling.
-
Richard H.
- Member
- Posts: 5
- Joined: Fri Apr 21, 2023 9:09 am
- Phoenix Version:
- Has thanked: 1 time
Re: DatePicker in phoenix 1.0.9.1
Hello BURT,
Don't change the ending! Still showing huhtikuuta instead of huhtikuussa
Thank you enyway
Don't change the ending! Still showing huhtikuuta instead of huhtikuussa
Thank you enyway
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: DatePicker in phoenix 1.0.9.1
This text is not part of Phoenix, it is part of the strftime function in PHP as explained by ecartz in the post above yours. We cannot control what the PHP people do in their codebase, which is why the "for {month}" is gone from Phoenix 1.0.8.21 onwards, as the Phoenix code is something we can control.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.