Hi,
I donwloaded the software and read all posts about this kind of renaming. I`ve set the Brazilian Language in my preferences but it does not work. German, French, Chinese and other languages work. Tried this script the developer post:
{net.filebot.WebServices.TheMovieDB.getMovieDescriptor(movie, Locale.GERMAN).name}
but dont find any word for BRAZILIAN, PORTUGUESE, PT-BR.
Using The MOVIE DB.
Can anyone help? Thanks
Titles in 2 languages: Portuguese (Brazil) and English
Re: Titles in 2 languages: Portuguese (Brazil) and English
Found the solution! Had to choose Portuguese at preferences, not Brazilian.
Re: Titles in 2 languages: Portuguese (Brazil) and English
hey just curious, what would the output filename be from your code?Wehaveall wrote:Found the solution! Had to choose Portuguese at preferences, not Brazilian.
thanks

Re: Titles in 2 languages: Portuguese (Brazil) and English
try
or
Code: Select all
{net.filebot.WebServices.TheMovieDB.getMovieDescriptor(movie, new Locale('PT')).name}
Code: Select all
{net.filebot.WebServices.TheMovieDB.getMovieDescriptor(movie, new Locale('BR')).name}
Re: Titles in 2 languages: Portuguese (Brazil) and English
Not all DBs support all languages. Portuguese (pt) and Brazilian Portuguese (pt-BR) is particularly tricky since the latter is not officially a language, and has no official language code.
Re: Titles in 2 languages: Portuguese (Brazil) and English
The new {localize} binding makes things more elegant:
viewtopic.php?f=5&t=3321&p=18449#p18449
viewtopic.php?f=5&t=3321&p=18449#p18449