Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Mihoko Okayami Posted January 17, 2019 Posted January 17, 2019 Hello, Is there a solution to translate dates when the use of "locales" ( locale -a etc ) is not possible ? Alpine Linux ( musl libc ) does not support "locale" systems. 🖥️🔨
Marc Posted January 17, 2019 Posted January 17, 2019 It depends on what dates. Some dates are controlled by locale, so in that case no, however many are not controlled by locale. See the following guide which shows information on this https://invisioncommunity.com/4guides/themes-and-customizations/languages-and-localization_326/changing-date-formats-r267/
bfarber Posted January 17, 2019 Posted January 17, 2019 I would encourage you to use a different distribution of Linux if you need locale support.
Mihoko Okayami Posted January 21, 2019 Author Posted January 21, 2019 On 1/17/2019 at 1:03 PM, Marc Stridgen said: It depends on what dates. Some dates are controlled by locale, so in that case no, however many are not controlled by locale. See the following guide which shows information on this https://invisioncommunity.com/4guides/themes-and-customizations/languages-and-localization_326/changing-date-formats-r267/ Unfortunately, the dates I want to translate are controlled by locale. 😪 On 1/17/2019 at 4:08 PM, bfarber said: I would encourage you to use a different distribution of Linux if you need locale support. It's a pity, Alpine Linux is really a very, very good and extremely light distribution. I was hoping that an alternative solution existed (at the php level) but apparently not.
bfarber Posted January 21, 2019 Posted January 21, 2019 Yeah, unfortunately if you need to use a different locale than what is built into the distribution and it doesn't support that, you may need to look elsewhere. I did find workarounds at the server level (https://github.com/gliderlabs/docker-alpine/issues/144) but note that any issues related to locales in such an environment would be outside of our control or ability to assist with.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.