There's a huge reason for Taiwan to announce that: their primary opponent already has nuclear weapons!
The reason Israel is heavily encouraged to maintain nuclear strategic ambiguity is an attempt to dissuade the entire Middle East from developing nuclear weapons in response.
https://m.youtube.com/watch?v=cmCKJi3CKGE&t=226s
There's a huge reason for Taiwan to announce that: their primary opponent already has nuclear weapons!
The reason Israel is heavily encouraged to maintain nuclear strategic ambiguity is an attempt to dissuade the entire Middle East from developing nuclear weapons in response.