I am making a script and I am looking for a way to get the variable names for Desktop, Music, Documents, Pictures and others Folders. Depending on the language they change. For example Desktop in Spanish is Escritorio. So how can I get the folder directory without needing to find out what language the user is using or having to make several IF statements for each language.
The common folder names are as follows. Just extracted from a file in home directory.
Of course, you are only interested in the variable name. So there are
Hope this will help.