First of all Thanks for the module and localisation support. In this module a local.json file is present which is used to derive the localization codes for various languages.
Now in our project we are using acquia cloud and blt tools to deploy code on our servers, the issue we are facing is that local.json file is not getting pushed to our servers. After investigation we found that in our gitignore file all local.* files have been ignored, and it is a valid configuration to avoid pushing of local files to servers. Now to resolve our issue it is possible for us to override the gitignore file on our project basis, but even a better solution is to rename the local.json file from this module to locale.json in that way module will become compatible for future for all blt based sites and file name will also make more sense since drupal own core module for localisation is locale.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3097280-rename-local-to-locale-2.patch | 573 bytes | guptahemant |
Comments
Comment #2
guptahemant commentedAttaching a patch for the above mentioned use case.
Please review
Thanks
Comment #3
guptahemant commentedComment #4
guptahemant commentedPlease use git apply -v for testing the patch.
Comment #5
yassersammanComment #7
yassersammanThanks @guptahemant. Committed.
Comment #8
yassersamman