2023-01-06, 12:23
(2023-01-06, 11:06)roitheoden Wrote: @AchillePunksThanks for the note. As I told you, there are some places where the string is skipped. If you notice somewhere else, let me know.
Hello.
In xml/IncludesVariables.xml, you should modify this in order to localize strings for categories (about lines 1502 to 1520) instead of default english categories. This is useful for the left border color in front of a category, however this border is white (default) when default language is not english and strings are translated in strings.po . I did not change "fantasy" because it's a universal world nowadays.
<variable name="CategoriesColors">
<value condition="String.IsEqual(Container.ListItem.Label,$LOCALIZE[320102]) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[320108]) | String.IsEqual(Container.ListItem.Label,sci-fi) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[320119]) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[320123]) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[320124])">FFFFA10B</value>
<value condition="String.IsEqual(Container.ListItem.Label,$LOCALIZE[320103]) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[320115]) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[320127]) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[320120])">FFCE3A00</value>
<value condition="String.IsEqual(Container.ListItem.Label,$LOCALIZE[320101]) | String.IsEqual(Container.ListItem.Label,fantasy) | String.IsEqual(Container.ListItem.Label,thriller) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[320118])">FFA60A5E</value>
<value condition="String.IsEqual(Container.ListItem.Label,$LOCALIZE[320104]) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[320110]) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[320125]) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[320121])">FFE50914</value>
<value condition="String.IsEqual(Container.ListItem.Label,$LOCALIZE[320105]) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[31049])">FF7D2889</value>
<value condition="String.IsEqual(Container.ListItem.Label,$LOCALIZE[31159]) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[320111]) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[320122]) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[320126])">FF3F54FF</value>
<value condition="String.IsEqual(Container.ListItem.Label,$LOCALIZE[31046]) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[320117]) | String.IsEqual(Container.ListItem.Label,romance) | String.IsEqual(Container.ListItem.Label,$LOCALIZE[320128])">FF007A63</value>
</variable>
<variable name="CategoriesColors2">
<value condition="String.IsEqual(Window(Home).Property(category),$LOCALIZE[320102]) | String.IsEqual(Window(Home).Property(category),$LOCALIZE[320108]) | String.IsEqual(Window(Home).Property(category),sci-fi) | String.IsEqual(Window(Home).Property(category),$LOCALIZE[320119]) | String.IsEqual(Window(Home).Property(category),$LOCALIZE[320123]) | String.IsEqual(Window(Home).Property(category),$LOCALIZE[320124])">FFFFA10B</value>
<value condition="String.IsEqual(Window(Home).Property(category),$LOCALIZE[320103]) | String.IsEqual(Window(Home).Property(category),$LOCALIZE[320115]) | String.IsEqual(Window(Home).Property(category),$LOCALIZE[320127]) | String.IsEqual(Window(Home).Property(category),$LOCALIZE[320120])">FFCE3A00</value>
<value condition="String.IsEqual(Window(Home).Property(category),$LOCALIZE[320101]) | String.IsEqual(Window(Home).Property(category),fantasy) | String.IsEqual(Window(Home).Property(category),thriller) | String.IsEqual(Window(Home).Property(category),TV $LOCALIZE[320101])">FFA60A5E</value>
<value condition="String.IsEqual(Window(Home).Property(category),$LOCALIZE[320104]) | String.IsEqual(Window(Home).Property(category),$LOCALIZE[320110]) | String.IsEqual(Window(Home).Property(category),$LOCALIZE[320125]) | String.IsEqual(Window(Home).Property(category),$LOCALIZE[320121])">FFE50914</value>
<value condition="String.IsEqual(Window(Home).Property(category),$LOCALIZE[320105]) | String.IsEqual(Window(Home).Property(category),$LOCALIZE[31049])">FF7D2889</value>
<value condition="String.IsEqual(Window(Home).Property(category),$LOCALIZE[31159]) | String.IsEqual(Window(Home).Property(category),$LOCALIZE[320111]) | String.IsEqual(Window(Home).Property(category),$LOCALIZE[320122]) | String.IsEqual(Window(Home).Property(category),$LOCALIZE[320126])">FF3F54FF</value>
<value condition="String.IsEqual(Window(Home).Property(category),$LOCALIZE[31046]) | String.IsEqual(Window(Home).Property(category),$LOCALIZE[320117]) | String.IsEqual(Window(Home).Property(category),romance) | String.IsEqual(Window(Home).Property(category),$LOCALIZE[320128])">FF007A63</value>
</variable>