I went to Applications -> Preferences -> System Language -> set ro_RO and pressed OK. After this I try to logout, but nothing happens, so I decided to run the logout command from the console:
$tazbox logout
After this, the following errors are displayed:
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (/usr/share/i18n/locales/ro_RO)
(process:2560): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Openbox-Message: Couldn't set locale from environment.
After some investigations I realized that the locale for Romanian doesn't exist, so I created it:
localedef -i ro_RO -f ISO-8859-16 ro_RO
This fixed the error messages above, now tazbox logout doesn't show any errors, however the logout command still doesn't work. Another interesting point is that it works with openbox, but not with compiz, so I think this is related to compiz.
On the same note, what is the difference between setting system language from the Applications menu and setting it from tazpanel -> Settings ? I also think that the tazpanel drop down can be improved by not showing the '/usr/share/i18n/locales/' prefix in front of every locale there and by sorting the list alphabetically.
NOTE: in tazpanel, the Current system locales field shows the following list: C en_US POSIX ro_RO ro_RO.iso885916