title: Xamarin.forms Change Language at runtime
body: <p>I have a login page and my code is this:</p>
  <pre><code>    &lt;ContentPage.Content&gt;
          &lt;Grid&gt;
              &lt;StackLayout Orientation=&quot;Vertical&quot; Padding=&quot;20&quot;&gt;
                  &lt;Entry Placeholder=&quot;{x:Static resources:AppResources.EMB_PLACEHOLDER}&quot; Keyboard=&quot;Numeric&quot;  Text=&quot;{Binding EMB}&quot;&gt;&lt;/Entry&gt;
                  &lt;Button Text=&quot;{x:Static resources:AppResources.LOGIN_BTN}&quot; TextColor=&quot;White&quot; Padding=&quot;0,-20&quot; BackgroundColor=&quot;#07987f&quot; Command=&quot;{Binding LoadLoginCommand}&quot;&gt;&lt;/Button&gt;
                  &lt;Label
                   Margin=&quot;0,10,0,0&quot; &gt;
                      &lt;Label.FormattedText&gt;
                          &lt;FormattedString&gt;
                              &lt;Span Text=&quot;{x:Static resources:AppResources.MESSAGE} &quot;&gt;&lt;/Span&gt;
                          &lt;/FormattedString&gt;
                      &lt;/Label.FormattedText&gt;
                  &lt;/Label&gt;
                  &lt;Grid Margin=&quot;0,10,0,0&quot; &gt;
                      &lt;Grid.ColumnDefinitions&gt;
                          &lt;ColumnDefinition Width=&quot;*&quot;/&gt;
                          &lt;ColumnDefinition Width=&quot;*&quot;/&gt;
                      &lt;/Grid.ColumnDefinitions&gt;
                      &lt;Label Padding=&quot;20,0,0,0&quot; Text=&quot;{x:Static resources:AppResources.LBLLANGUAGE}&quot; VerticalOptions=&quot;Center&quot; FontSize=&quot;Body&quot; TextColor=&quot;Gray&quot; Grid.Column=&quot;0&quot;/&gt;
                      &lt;Picker x:Name=&quot;languagePicker&quot; Grid.Column=&quot;1&quot; ItemsSource=&quot;{Binding Languages}&quot; Title=&quot;{x:Static resources:AppResources.LBLLANGUAGE}&quot; ItemDisplayBinding=&quot;{Binding Name}&quot; SelectedItem=&quot;{Binding SelectedLanguage, Mode=TwoWay}&quot;&gt;&lt;/Picker&gt;
                  &lt;/Grid&gt;
              &lt;/StackLayout&gt;
              &lt;StackLayout HorizontalOptions=&quot;Center&quot; VerticalOptions=&quot;Center&quot;&gt;
                  &lt;ActivityIndicator IsVisible=&quot;{Binding IsBusy}&quot; IsRunning=&quot;{Binding IsBusy}&quot; HorizontalOptions=&quot;Center&quot; VerticalOptions=&quot;Center&quot;&gt;&lt;/ActivityIndicator&gt;
                  &lt;Label Text=&quot;{x:Static resources:AppResources.TSMSG1}&quot; HorizontalTextAlignment=&quot;Center&quot; VerticalTextAlignment=&quot;Center&quot; HorizontalOptions=&quot;Center&quot; VerticalOptions=&quot;Center&quot; IsVisible=&quot;{Binding IsBusy}&quot;/&gt;
              &lt;/StackLayout&gt;
          &lt;/Grid&gt;
      &lt;/ContentPage.Content&gt;
  </code></pre>
  <p>Have a picker with list of languages. Also have <code>resx</code> file for every language. My scenario is when i click on picker and select some language i want to change the language of all text on the login page in choosed language in realtime. Any idea how to do it?</p>