Re: How to search for files in Xubuntu / XFCE with just Thunar and a Bash script
Ok, I have modified the script to look for the closest equivalent language file.
Originally Posted by kalikiana
If the exact locale file is not there, it will look for:
in that order. So if you don't have that particular variation on the language, you can use something similar that might work
if your locale is zh_TW.euctw
it will look for 'search-for-files_locale.zh_TW.euctw'
if that doesnt exist it will look for anything beginning with 'search-for-files_locale.zh_TW'
if that doesnt exist it will look for anything beginning with 'search-for-files_locale.zh' (and will match zh_CN.gbk, which may be similar enough to use)
(and of course if that doesnt exist it falls back to english)
this is because some languages, like chinese, have many different locales
I have also made other (significant) changes, which will hopefully be the last to this horrible script for some time. see first post
Last edited by lapsey; November 26th, 2006 at 04:58 AM.