Skip to content
Snippets Groups Projects
  • Martin Trigaux's avatar
    f7130556
    [REF] *: add support for RTL languages · f7130556
    Martin Trigaux authored
    מזל טוב
    
    The direction parameter will now have a real impact on the web interface and
    completly switch the direction of the interface.
    Add the dependency rtlcss to switch the direction with a css postprocessor.
    
    Two different assets will be generated for ltr or rtl
    /web/content/<...>/web.assets_backend.0.css
    and
    /web/content/<...>/rtl/web.assets_backend.0.css
    to be able to differentiate it easily
    
    Adapt the css and views to be easier to switch direction
    
    Render graph as it is, do not move y-axis right side, as per mathematical rule
    value goes left from origin are considered negative, so keep graph as it is
    for right to left language
    
    add test cases for language direction specific assets bundle
    if language direction is rtl then we also store css files in assets bundle
    now we store two assets bundle, one for ltr and one for rtl language direction
    test two assets bundles generated, also test two assets bundle generated for en_US and ar_SY
    [REF] *: add support for RTL languages
    Martin Trigaux authored
    מזל טוב
    
    The direction parameter will now have a real impact on the web interface and
    completly switch the direction of the interface.
    Add the dependency rtlcss to switch the direction with a css postprocessor.
    
    Two different assets will be generated for ltr or rtl
    /web/content/<...>/web.assets_backend.0.css
    and
    /web/content/<...>/rtl/web.assets_backend.0.css
    to be able to differentiate it easily
    
    Adapt the css and views to be easier to switch direction
    
    Render graph as it is, do not move y-axis right side, as per mathematical rule
    value goes left from origin are considered negative, so keep graph as it is
    for right to left language
    
    add test cases for language direction specific assets bundle
    if language direction is rtl then we also store css files in assets bundle
    now we store two assets bundle, one for ltr and one for rtl language direction
    test two assets bundles generated, also test two assets bundle generated for en_US and ar_SY