increase in a country's inflation rate and domestic currency deppreciate

if there is increase in a country’s inflation rate, then low goods expensive, so import increase, which means more money spend oversea, so the demand for domenstic currency decrease, docmenstic currency depreciate? is this analysis correct, why I feel something wrong here while the conclusion is correct? Thanks.