I am trying to translate a text thats inside a map field.
This is how the collection is set up. I want to translate the "Text" field.
I tried "test.textDoc.*.text", but "dot notion" doesn't seem to work. I even tried "test/textDoc/{random}/text".
I am trying to translate a text thats inside a map field.
This is how the collection is set up. I want to translate the "Text" field.
I tried "test.textDoc.*.text", but "dot notion" doesn't seem to work. I even tried "test/textDoc/{random}/text".
For the Translate Text extension to work, the text to translate has to be in a known, fixed field in your document. In our example, that'd be ocnuwen.text
, but the ocnuwen
cannot be variable.
Keep in mind that Firebase Extensions are open-source, so you can use the source code of that extension as a template for your own - and tweak it to your needs.