msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
23 stars 14 forks source link

Add github action to order translation json files alphabetically #4971

Open fergie-nz opened 1 month ago

fergie-nz commented 1 month ago

Is your feature request related to a problem? Please describe 👀

Describe the solution you'd like 🎁

Order translation strings!

Building on this PR: https://github.com/msupply-foundation/open-msupply/pull/4968#discussion_r1785315532

Could also include custom ordering of plural translation strings to put them as: one, few some many, etc (a more intuitive ordering than alphabetical)

Describe alternatives you've considered 💭

Additional context 💌

Moneyworks Jobcode 🧰

jmbrunskill commented 1 month ago

I'm thinking the action could either commit to the branch, or maybe creates another PR to sort if there's a sorting issue? Any preferences?

mark-prins commented 3 weeks ago

An action which committed to the branch would be good.. whatever is unobtrusive. I like the idea of having them sorted, and have done this in vs code myself.. just makes it easier to find strings when searching manually