I'm running a script that contains the LANG variable set to 'french', when i run it manually with
$(pwd)/script_name
It works fine, for example, i see the "e'" translated properly, but when is run by a cronjob, It seems like the LANG variable is set to english_us, i see the 'e`' as '?'
I have no idea why this happens,even when running from a cronjob, the script should set its LANG to french, as it does when i run it manually. Any advice?
.bash_profileor.bashrc?LANG=frenchwithin$(pwd)/script_name?