-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor
-
Affects Version/s: None
-
None
We currently pass strings to vuejs using a flat array derived in VueHelper.php::locales(). Using a flat array doesn't take advantage of the name spacing provided by the different .po filenames, and it also makes it impossible to collect strings when there is a key name collision between files.
Instead of returning a flat array, build a nested array that keeps the .po filename structure and then modify the js files to use it.