# CLI Tool Not Updating Strings (bug?)

**URL:** <https://community.transifex.com/t/cli-tool-not-updating-strings-bug/3023>\
**Category:** Q&A\
**Tags:** tx-client\
**Created:** [August 29, 2022, 1:26pm UTC](https://community.transifex.com/t/cli-tool-not-updating-strings-bug/3023 "2022-08-29T13:26:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccjo](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@ccjo](https://community.transifex.com/u/ccjo)\
**Post date:** [August 29, 2022, 1:26pm UTC](https://community.transifex.com/t/cli-tool-not-updating-strings-bug/3023/1 "2022-08-29T13:26:27Z")

</div>

**Current Behavior**  
Strings are not updated in web dashboard after running push.

**Expected Behavior**  
Strings should be updated (added or changed).

**Steps to Reproduce**  
Run `txjs-cli push '{,!(node_modules|dist)/**/}*.{js,jsx,ts,tsx}' --token=$TRANSIFEX_TOKEN --secret=$TRANSIFEX_SECRET`  
or `txjs-cli push '{,!(node_modules|dist)/**/}*.{js,jsx,ts,tsx}' --token=$TRANSIFEX_TOKEN --secret=$TRANSIFEX_SECRET --purge`

Output:

```auto
Parsing all files to detect translatable content...
⸨████████████████████████████████████████⸩ 50/50 /webpack.config.js
✓ Processed 50 file(s) and found 46 translatable phrases.
✓ Content detected in 3 file(s).

Uploading content to Transifex... Success
✓ Successfully pushed strings to Transifex:
  Skipped strings: 46

```

**Possible Solution**  
It seems that the CLI doesn’t thing there are any new strings, so skips everything. But there are three new strings which are not yet in the dashboard and available for translation. Alternatively, the strings did get uploaded but there is some sort of cache blocking them from showing.

I also tested by adding another new string, and I get the following output:

```auto
Parsing all files to detect translatable content...
⸨████████████████████████████████████████⸩ 50/50 /webpack.config.js
✓ Processed 50 file(s) and found 47 translatable phrases.
✓ Content detected in 3 file(s).

Uploading content to Transifex... Success
✓ Successfully pushed strings to Transifex:
  Created strings: 1
  Skipped strings: 46

```

I think the 3 strings I had added before must have had similar output that I didn’t notice. But this new “created string” doesn’t show up anywhere in the Transifex dashboard for my project.

Another thing I tried was running `txjs-cli invalidate --token=$TRANSIFEX_TOKEN --secret=$TRANSIFEX_SECRET`, which output:

```auto
Invalidating CDS cache... Success
3 records invalidated
Note: It might take a few minutes for fresh content to be available

```

But after several minutes, there is no change in the content on the Transifex website.

---

<div class="post-metadata">

**Author:** ![Mylon](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.transifex.com/mylon/32/2139_2.png) [@Mylon](https://community.transifex.com/u/Mylon)\
**Post date:** [August 29, 2022, 1:51pm UTC](https://community.transifex.com/t/cli-tool-not-updating-strings-bug/3023/2 "2022-08-29T13:51:16Z")

</div>

Hello Jo,  
﻿  
﻿Thank you for reaching out to Transifex.

I am Antonis, a support engineer from the Transifex support team.  
﻿  
I see that one of our developers already replied to you on GitHub already. I think the key word here is that Transifex only finds 47/50 translatable strings. Can you provide details about the strings which are not getting picked up as translatable in your comment?

Kind regards,

Antonis
