[RFC] Use core WordPress methods for the language file updates

Use core WordPress methods for the language file updates instead of probing the SVN directories.

Do not merge yet, this might need more work.