Quick note that "devalued dollar" is inflation, not a cause of inflation.
If your currency is falling against foreign currencies but prices are also dropping domestically, you get deflation. This was happening in China a couple of years ago, and they were exporting this deflation to other countries.