Managing custom theme translations file How to add a translation file to a custom theme?

I did 

my_theme.info.yml

'interface translation project': my_theme
'interface translation server pattern': themes/my_theme/translations/my_theme-%language.po


twig template:

 {% trans %}
  status
{% endtrans %}

{{ 'status'|t }}


/my_theme/translations/my_theme-fr.po:

msgid "status"
msgstr "statut"

msgid "statut"
msgstr "status"


followed by a 

drush cr


The output is not translated when I am on the fr page (the default language being english).
The .po file is not imported by being placed in the themes directory, you need to import it. To do that go here:

Home &gt; Administration &gt; Configuration &gt; Region and Language &gt; Import