-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
Interesting - I managed to fix the bold style by removing the {' '} from the text: Also managed to fix the links by moving the dot (end of sentense) to the previous line? @cpojer Any idea what is going on here? |
Beta Was this translation helpful? Give feedback.
-
|
Ok, this is extremly weird. So after making the above changes, I ran again fbt collect, prepare-translate. I translated the strings, and then ran fbtee translate. Now the app has the same issue. If I go in the source code and now re-add the empty string and move the dot, then my text is translated??? source: here is the translated text and the final translation in the app: |
Beta Was this translation helpful? Give feedback.
-
|
When you use a component like |
Beta Was this translation helpful? Give feedback.




When you use a component like
<Text fontWeight="800">never used for advertising</Text>inside of<fbt>it creates an implicit "name" for that token. In your case that's{=never used for advertising}. The token is static, so it should never be translated. When you translate to German, you have to keep{=never used for advertising}in the container, and then translate the inner text.