CRM-13187 - Set word replace from mgd files

Word replacement using mgd files.

This pull request is dependent upon https://github.com/civicrm/civicrm-core/pull/1508 so this pull request should be merged after dependent request.