Note that we strongly discourage overwriting Flarum's core files. It makes it a huge pain in the ass to upgrade, which is exactly what we're trying to avoid with the extensions system.
To make a language pack, you should make an extension which contains and registers your locale files. See the Packaging and Localization docs for more info.