zhanghai / MaterialFiles

Material Design file manager for Android
https://play.google.com/store/apps/details?id=me.zhanghai.android.files
GNU General Public License v3.0
5.33k stars 371 forks source link

Localized and user friendly error message #150

Open zhanghai opened 4 years ago

zhanghai commented 4 years ago

Needs setlocale(LC_ALL, "");

zhanghai commented 4 years ago
// We only support two locales, the "C" locale (also known as "POSIX"),
// and the "C.UTF-8" locale (also known as "en_US.UTF-8").

https://android.googlesource.com/platform/bionic/+/master/libc/bionic/locale.cpp

zhanghai commented 2 years ago

Maybe we should localize the standard FileSystemException first, plus the "root not available" one.