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.

CommentFileSizeAuthor
#2 3097280-rename-local-to-locale-2.patch573 bytesguptahemant

Comments

guptahemant created an issue. See original summary.

guptahemant’s picture

Assigned: guptahemant » Unassigned
Status: Active » Needs review
StatusFileSize
new573 bytes

Attaching a patch for the above mentioned use case.

Please review
Thanks

guptahemant’s picture

Assigned: Unassigned » guptahemant
Status: Needs review » Needs work
guptahemant’s picture

Assigned: guptahemant » Unassigned
Status: Needs work » Needs review

Please use git apply -v for testing the patch.

yassersamman’s picture

Category: Support request » Bug report
Status: Needs review » Reviewed & tested by the community

yassersamman’s picture

Status: Reviewed & tested by the community » Fixed

Thanks @guptahemant. Committed.

yassersamman’s picture

Status: Fixed » Closed (fixed)