Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

viltit/NSLocalizedString

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NSLocalizedString on Linux

Compiling and running the project with bash run.sh will copy the Resource folder with its Language files into .build/debug. If you compile and run by hand, you must copy the resource folder by hand.

This is the minimum code required to show that NSLocalizedString does not work properly on Linux. While it can read a .strings file as it should, it does not work with a .stringsdict file.

If you run the compiled code with strace you will notice that the .stringdict file gets opened by the system, so I suspect this may be a bug in the Linux implementation of Swift.

About

Testing NSLocalizedString on Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published