# How to create/update ts (qt translation) files?

**URL:** <https://discourse.slicer.org/t/how-to-create-update-ts-qt-translation-files/11440>\
**Category:** Development\
**Created:** [May 7, 2020, 5:56am UTC](https://discourse.slicer.org/t/how-to-create-update-ts-qt-translation-files/11440 "2020-05-07T05:56:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![quabug](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/quabug/32/6726_2.png) [@quabug](https://discourse.slicer.org/u/quabug)\
**Post date:** [May 7, 2020, 5:56am UTC](https://discourse.slicer.org/t/how-to-create-update-ts-qt-translation-files/11440/1 "2020-05-07T05:56:22Z")

</div>

I am trying to enable i18n support on slicer, and it is generate “fr” translation files by default after enable Slicer\_BUILD\_I18N\_SUPPORT and Slicer\_UPDATE\_TRANSLATION.  
Then I changed “fr” to “zh” in CMakeList.txt and it stop generate new translation files, and even I changed it back to “fr” it is still not working to update or generate new “fr” translation files.

How can I force cmake to generate new or update exist ts files?  
Is there any place to cache “ts” files which prevent cmake to generate/update ts files?

---

<div class="post-metadata">

**Author:** ![quabug](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/quabug/32/6726_2.png) [@quabug](https://discourse.slicer.org/u/quabug)\
**Post date:** [May 7, 2020, 8:29am UTC](https://discourse.slicer.org/t/how-to-create-update-ts-qt-translation-files/11440/2 "2020-05-07T08:29:07Z")

</div>

Solved by rebuild vs solution.
