@CreativeArtDesign (Creative Art Design) posted a new topic, subject "Ionic 4 - must be a rtl/ltr bug? (MULTI LANGUAGE APP)". It read:

   ###  **### THIS MUST BE A BUG!!**
    
    **Global.SCSS BASED ON RTL OR LTR DOES NOT WORK!!**  
    In my case it is very simple if i use **RTL** i would like to have use **RTL** style located in **global.scss.**  
    Like Ionic 3. But this does not work for me. I migrated to ionic 4 and getting stuck with this problem.
    [code] 
        [dir="ltr"] {
          ion-button {
            //My style for LTR
          }
        }
        [dir="rtl"] {
          ion-button {
           //My style for RTL
          }
        }
        
        
    [/code]
    
    I trying to change the direction based on what i have choice in my **language service variable** set. **(RTL or LTR)** in my **ion-header** or **ion-content** .  
    Have tried code above in **global.scss.** But only work if you have the direction in index.html.
    
    The global style does not care only look at **index.html** direction it does not care about my `home.page.html` if i have put dynamic direction
    
    It always look at **index.html** . and take the direction from there and use that style that is set there.  
    **([dir=“rtl”] ); -- > look only in index.html can not figure out how to fix this.**
    
    Is there no fix for this yet? I would like to have the direction based on what language i choice,  
    In my case i have 2 diffrent styles one for **LTR** and one for **RTL** .
    
    Is there any solution for this?
    
    I have post this on github also as a comment… hope everybody can see it.

@Sujan12 (Jan) replied

    CreativeArtDesign:
    
    > Is there no fix for this yet?
    
    Have you reported this problem as a bug issue on GitHub with a full reproduction of what is going on so a maintainer can easily replicate it?

So @CreativeArtDesign (Creative Art Design) replied

    yes i have, still waiting for a solution.

Then @Sujan12 (Jan) said

    It might be beneficial to link to the issue you reported here for context.

After which, @CreativeArtDesign (Creative Art Design) added

    github.com/ionic-team/ionic
    
    #### Issue: Ionic 4.0.0 RTL issues
    
    opened by abennouna on 2019-01-09
    [code] 
        This issue is to collect and keep track of RTL bugs vs. master so we can make sure to properly update...
    [/code]
    
    package: core type: bug


{'source': 'discourse', 'url': 'https://forum.ionicframework.com/t/ionic-4-must-be-a-rtl-ltr-bug-multi-language-app/154842', 'title': 'Ionic 4 - must be a rtl/ltr bug? (MULTI LANGUAGE APP)', 'views': 971, 'has_accepted_answer': False, 'word_count': 311, 'like_count': 0, 'reply_count': 3, 'participant_count': 2, 'posts': 5, 'tags': '', 'author': '@CreativeArtDesign (Creative Art Design)', 'participants': '@CreativeArtDesign (Creative Art Design), @Sujan12 (Jan)', 'image_url': [None], 'created_at': '2019-01-31T08:48:39.025Z', 'last_posted_at': '2019-02-02T04:36:45.760Z'}