Hello,
I work on my script i search a variable for multi language
$noop(★ EDIT THIS TO SET LANGUAGE ★)
$set(_LangScript,FR)
$noop(
OPTION:
EN = ENGLISH
FR = FRANÇAIS
)
$noop(★ CUSTOM SUBFOLDER BY LANGUAGE ★)
$noop(★ ENGLISH ★)
$set(_LOfficialEN,Official/)
$noop(★ FRANÇAIS ★)
$set(_LOfficialFR,Officiel/)
$noop(########## My Problem #############)
$noop(★ CUSTOM SUBFOLDER BY RELEASES STATUS ★)
$set(ROfficial,_LOfficial%_LangScript%)
$noop(########## End of My Problem #############)
$noop(########## DETECT RELEASE STATUS ###############################)
$if($eq(%releasestatus%,official),
$set(_isOfficial,1)
$set(StatusRelease1,
$if($eq(%_isOfficial%,1),%ROfficial%,
$if($eq(%_isPromo%,1),%RPromo%,
$if($eq(%_isBootleg%,1),%RBootleg%,
$if($eq(%_isPseudoR%,1),%PseudoRDir%,
)
)
)
)
)
$if2(%albumartist%,%artist%)/%StatusRelease1%/$if($ne(%albumartist%,),%album%/)$if($gt(%totaldiscs%,1),%discnumber%-,)$if($ne(%albumartist%,),$num(%tracknumber%,2) ,)$if(%_multiartist%,%artist% - ,)%title%
output: /MyMusic/Compilation/_LOfficialFR/HELP!/…
I had found a solution but I lost everything after an error.
Like this:
$set(ROfficial,$if(_LOfficial%_LangScript%,))
Anyone have an idea?