Trying to make this less breaking as possible: getHotSHome() will try to read config file only if default path USER_HOME/Heroes of the Storm/Accounts/ does not exist, and it has a default value "Documents" in case it could not read real values from config file.
Try to parse xdg user-dirs config file to find the correct location of user's "Documents" folder, which can be localized. See http://freedesktop.org/wiki/Software/xdg-user-dirs/ specification.
Trying to make this less breaking as possible:
getHotSHome()
will try to read config file only if default pathUSER_HOME/Heroes of the Storm/Accounts/
does not exist, and it has a default value "Documents" in case it could not read real values from config file.