You can upload a locale in XML format as created via the 'Locale XML Download' feature or via the command line script `/scripts/locale_export --locale=locale_tag_here` (pass it --help for more information).
If the locale does not exist on the server all files are created.
If the locale already exists then the following happens: