title: react navigation how to change language of bottom tabs
body: <p>MainTabNavigator.js</p>
  
  <pre><code>import { createStackNavigator, createBottomTabNavigator } from 'react-navigation';
  const ExploreStack = createStackNavigator({
      Explore: ExploreScreen,
  });
  ExploreStack.navigationOptions = {
      tabBarLabel: 'explore',
      tabBarIcon: ({ focused }) =&gt; (
          &lt;MyTabBarIcon style={{width:22, height:21}} name={'explore'} focused ={focused} /&gt;
      ),
  };
  const CarStack = createStackNavigator({
      CarStack: CarScreen,
  });
  
  CarStack.navigationOptions = {
      tabBarLabel: 'car',
      tabBarIcon: ({ focused }) =&gt; (
          &lt;MyTabBarIcon style={{width:39, height:19}} name={'car'} focused ={focused} /&gt;
      ),
  };
  
  export default createBottomTabNavigator({
      CarStack,
      ExploreStack,
  });
  </code></pre>
  
  <p>appNavigtor.js</p>
  
  <pre><code>import MainTabNavigator from './MainTabNavigator';
  import SignIn from '../screens/SignIn'
  
  export default createAppContainer(createSwitchNavigator({
    // You could add another route here for authentication.
    // Read more at https://reactnavigation.org/docs/en/auth-flow.html
    Main: MainTabNavigator,
    SignIn: SignIn
  }));
  </code></pre>
  
  <p>app.js</p>
  
  <pre><code>import AppNavigator from './navigation/AppNavigator';
  export default class App extends React.Component {
      render() {
              return (
                  &lt;View style={styles.container}&gt;
                      &lt;AppNavigator /&gt;
                  &lt;/View&gt;
              );
          }
  }
  </code></pre>
  
  <p>I'm using expo i18n from 'i18n-js' and Localization from expo to translate the components, they work just fine. However I got bottomtabs generated by expo. I have no idea how to translate those tab labels I tried the library above, doesn't seem work.</p>
  
  <p>the tabs look something like this</p>
  
  <p><a href="https://i.stack.imgur.com/87pxK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/87pxK.png" alt="enter image description here"></a></p>