Asana / locheck

Validate iOS, Android, and Mac localizations. Find errors in .strings, .stringsdict, and strings.xml files.
MIT License
97 stars 11 forks source link

locheck: add support for linux. #56

Closed AnessZurba closed 5 months ago

AnessZurba commented 5 months ago

Hi,

Full disclaimer: I'm no expert in running swift on Linux.

This is a try to make this project compatible with linux, the changes are very minimal, as the code doesn't use anything platform-specific (from what I can see)

Replace Darwin imports with Glibc, and a small change in Makefile to make it multi-platform

I did try to compile, install and run on ubuntu on a real iOS project with lots of localizations, it seems to work. (Although the version I ran was by replacing Darwin by Glibc, not the one with ifs)