Generally the people you’re telling your salary are people in the same location as you or at least the same state.
Telling the yearly salary makes the most sense there since it should be similar weekly/monthly amounts. And even if they aren’t in the same place and it doesn’t translate based on tax differences, telling someone the monthly or weekly payment would make no sense.