After thinking long time about this idea I have come to the conclusion:vicmz wrote:Can this be applied to a wbar pet? Most wbar pets on the forum have translations for the configuration GUI but the text in the bar itself remains in English (meaning that after installing you have to edit each icon text manually to translate).
No, wbars are too different and individual and there is no standard xdg/template and never will be.
But I have made version 1.0
Using this you can translate using wbar-config in different languages.
..and see texts in different (translated by yourself) languages.
Simply added
Code: Select all
if [ -f $HOME/.wbar ]; then #140430
#echo "cp $HOME/.wbar $HOME/.wbar-${old_LANG}"
cp $HOME/.wbar $HOME/.wbar-${old_LANG}
kill `ps | grep wbar$ | grep -v grep | cut -d' ' -f1`
#echo "cp $HOME/.wbar-${new_LANG} $HOME/.wbar #140429"
cp $HOME/.wbar-${new_LANG} $HOME/.wbar #140429
wbar &
fi
See version 1.0 please.
Thus translations are independant of any langpack...