title: Get posts by category and language, using PolyLang
body: <p>I'm creating a plugin and I already could get the posts by category and by the current language using get_posts() function from WordPress and passing the attribute lang with the pll_current_language() from PolyLang.</p>
  
  <pre><code>$args = array(
      'posts_per_page'   =&gt; 6,
      'orderby'          =&gt; 'date',
      'order'            =&gt; 'DESC',
      'post_type'        =&gt; 'post',
      'post_status'      =&gt; 'publish',
      'lang'             =&gt; pll_current_language()
  );
  return get_posts($args);
  </code></pre>
  
  <p>Now, I'm wondering how to get the posts by categories related to the language?
  For example, I have the News category for English and Noticias for Spanish. How can I set this automatically?</p>
  
  <p>Something like this:</p>
  
  <pre><code>$args = array(
      ......
      'category' =&gt; **current_category_for_this_language**
      ......
  );
  return get_posts($args);
  </code></pre>
  
  <p>Any ideas?</p>