unitedworldwrestling / arena-public

14 stars 5 forks source link

Locale in printed matter #33

Closed theswix closed 3 years ago

theswix commented 3 years ago

In which application you miss a feature Arena 1.5.73

Is your feature request related to a problem? Please describe. Full localization of all the printed matter (scoresheets, results etc.) in Arena. Currently the date is printed everywhere in LC_TIME=C or smth. like that, maybe in "en_EN.UTF-8" regardless of which language is used in Arena interface. Please see the screenshot attached.

Describe the solution you'd like Printed date & time complies with user language preferences in Arena interface.

Describe alternatives you've considered The most straightforward way might be incorporating respective locales and fonts (for all the languages Arena uses for its interface options) into Arena image and then check current user language preference. So, accordingly print the requested materials. I don't know how Arena does this exactly but I think that calling smth. like <?php setlocale (LC_TIME, "ru_RU"); echo strftime ("%b %Y"); ?> before processing respective .pdf would do it, though it needs testing.

Thank you!

Additional context

wrong locale
csabavirag commented 3 years ago

Although Arena uses a different rendering engine for PDFs, it's not impossible to achieve your request.

csabavirag commented 3 years ago

This feature scheduled to be available starting from the next release version (most likely in 1.5.74)