Save locale in project file

Post Reply
scs
User
Posts: 694

Save locale in project file

Post by scs »

Everytimes when there is an UPDATE, we need to uninstall the existing version (v2020.0.6) and then install the new release (v2020.0.7), then the Locale got reset to phpmaker default. If we forgot to update the locale format, all the output is affected (TIME ZONE, date format reseted)

Is it a way to save the locale into the {project}.pmp file and solve it for all in the future updates?

Regards,
scs


mobhar
User
Posts: 11727

Post by mobhar »

I vote for this feature.

That would be very useful when we are able to save the locale settings in our project side, so that when the new version are installed, we don't have to adjust anymore the locale settings.

In other words, instead of changing the .json locale files (as in the existing version until now), we should be able to adjust it by synchronizing from our project setting into that .json files.


malsony
User
Posts: 39

Post by malsony »

+1 more vote for this feature!

Can the template locale .json file can be overridden in any way?

In legacy versions, the locale settings used to be stored in the language .xml file, which could be renamed to avoid being covered by future updates.

Not sure if the locale files could be renamed and applied to the project, like, bypassing the template...


lamorte1977
User
Posts: 92

Post by lamorte1977 »

+1


mobhar
User
Posts: 11727

Post by mobhar »

It has been implemented now in PHPMaker v2021. Thank you.

Post Reply