I would say excuse me, I don't speak Japanese can you please help me. And then I'd show them my phone with the translated version of whatever my query is and then press the mic button and they'd get the point that they can speak now. Worked great.
In my experience many people already have their own translation app on their phone which they are often happy to use to reply to you, too.
Typing means people go a bit more slowly and think about what they are writing, sometimes reworking sentences to be clearer.
Also if they are typing in front of your face, the translation constantly updates based on the partial sentence they’ve typed and this can be quite revealing, which is useful if the final translation isn’t crystal clear.
For chatting over sms/whatever it was great. Enough to have complex conversations and get to know people that I couldn't possibly communicate with otherwise. It's not perfect, but it's a lot better than nothing if you aren't proficient in the local language.
Also your mileage will vary by language. English-Japanese seems to be a pretty good combination. English-Chinese and English-Russian are a lot more flaky.
Check out jisho.org- it will translate and call out sentence structure, and is clearer about assumptions.
I almost wish Google Translate provided a confidence measure.
[1]https://www.travistranslator.com/product-category/translator...
In the end I tended to communicate everything I really needed by holding up the number of things I wanted on my fingers and pointing and smiling, caveman-style. They would usually know just enough English to say, "Two? Ok." Then the price of whatever I was buying would show up on the register surrounded by mystery Japanese characters, but the numbers were Western Arabic, so that was all I needed to know.
One thing I learned is that you can get by with very little knowledge of the local language to successfully travel and eat.