Elamania wrote: ↑08 Feb 2022, 23:24
why would I use this mapper if I can just use TVDB?
If you can, then you wouldn't. But if you can't, then you might.

Which database are you using? Which title do you want? What series are you testing with and what file name do you want for a given sample
(i.e. a tricky corner case) file?
AniDB can provide
x-jat (transliterated Japanese) and English series name. TheTVDB does not support
x-jat and can only give you the English series name. If you want AniDB
x-jat name and TheTVDB English name, then things get complicated, but of course possible with the bindings and mappings mentioned in the thread linked above.
tl;dr you can reliably have season numbers, or reliably have
x-jat names, but you can't reliably have both, because neither AniDB nor TheTVDB support both

If you use AniDB, then
primaryTitle is always the
x-jat name. If you use TheTVDB, then
primaryTitle is always the English name. So
{localize} does nothing in this particular use case, but will confuse you because you might think that it does something.
EDIT:
primaryTitle does do some magic in newer revisions, and tries to give you the value you probably want if possible; so for TheTVDB entries, it might give you the AniDB
x-jat name automatically if it can be inferred from the Anime-Lists mapping information.