But it would've been better if the Iranian government will back bitcoin too and legally accept it as a currency.
They do and don't at the same time, it is a little weird. Bitcoin is recognized as a currency and is officially used for foreign trades. Bitcoin mining is recognized and has been done done in Iran for the past couple of years as a regulated and legitimate business. People trade bitcoin freely since there is no laws against it.
And yet bitcoin is not yet completely regulated as a currency for domestic use and I don't think it is going to happen either.
people won't trust any type of currency that is related to their government
which is same as the traditional fiat rial
You already contradicted yourself. It's not about trust, inflation or anything like that either. People of any country
use their own national currency regardless of its form (physical, digital or crypto).
BTW it's already available for use through 2 banks and some people are using it to purchase goods in this testing phase.
the Iranian central bank is launching the digital rial(It's not crypto rial)
It is called "رمزریال" and "رمز" is the equivalent of "crypto" in Farsi so it is Crypto-Rial.
The problem with inflation is all over the world and not only affecting a particular country,
Actually Iran's inflation is different since it has been high for a long time and existed before this recent global one. But also difference in the sense that over the past year it has significantly decreased, even more so during the past couple of months. In fact Iranian Rial went up about 17% against US dollar as dollar has been tanking hard over the past 6 months which contributed more to decreasing Iran's inflation.