Language Help Please!

Any questions? Need some help?
Post Reply
mbc0
Posts: 7
Joined: 31 Jul 2015, 09:07

Language Help Please!

Post by mbc0 »

Hi,

I am running filebot GUI on my Linux VPS and have no root access to change language settings but am having a problem renaming files that have special characters in them, for example I am trying to rename the series Pokemon but Filebot tries to rename them to Pokémon which results in a malformed input or input contains unmappable characters error.

I have tried adding the LANG=en_US.utf8 command to the end of my line in formats like this

/home/hd34/mbc0/media/Movies/{n} ({y})/{n} ({y}){$LANG=en_US.utf8}

but get a BindingException "en_US":not defined error

Any help would be greatly appreciated!

Many Thanks
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Language Help Please!

Post by rednoah »

This is shell script code:

Code: Select all

export LANG=en_US.utf8
The LANG environment variable will need to be set before filebot is called.


This is FileBot format code:

Code: Select all

{n} ({y})/{n} ({y})
It's used for generating filenames and has absolutely nothing to do with setting the filesystem encoding.


Image
:idea: Please read the FAQ and How to Request Help.
mbc0
Posts: 7
Joined: 31 Jul 2015, 09:07

Re: Language Help Please!

Post by mbc0 »

To try and earn a TRIPLE Facepalm how do I set the LANG environment before filebot is called? I have searched and searched but am too much of a noob to be able to get my head around it?
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Language Help Please!

Post by rednoah »

I don't know. Depends on what Linux you're using, what Desktop Environment you're using, etc. Setting it for your login shell is easy by adding the export to your ~/.profile but I'm not sure if your Desktop Environment cares about that.


EDIT:


I checked Google:

Gnome:
https://help.ubuntu.com/community/Envir ... nvironment

KDE:
https://userbase.kde.org/Session_Enviro ... riables/en
:idea: Please read the FAQ and How to Request Help.
Post Reply