You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/troubleshooting/translations/fix_google_translate_errors.md
+34-15Lines changed: 34 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,32 +9,51 @@ title: Fix Google Translate Errors
9
9
FlutterFlow integrates with Google Translate to help localize your app automatically. This guide outlines how to identify and resolve common issues with the translation integration.
10
10
11
11
:::info[Prerequisites]
12
-
- Google Translate integration has been added to the project.
13
-
- At least one supported language has been configured under**App Settings > Localization**.
14
-
-Refer to the **[Google Translate Integration](/concepts/localization/#add-multi-language-support)** guide.
12
+
- Google Translate integration must be enabled for the project.
13
+
- At least one supported language must be added in**App Settings > Localization**.
14
+
-Review the [Google Translate Integration](/concepts/localization/#add-multi-language-support) guide for setup instructions.
15
15
:::
16
16
17
-
## Common Translation Issues:
17
+
## Common Translation Issues and Fixes:
18
18
19
-
-**Long Text Blocks:** Exceeding limits or timeouts — translate externally if needed.
20
-
-**Unsupported Characters:** Emojis or symbols may cause errors. Remove or replace.
21
-
-**Language Limits:** Max 10 languages supported. Reduce if necessary.
19
+
-**Long Text Forms**
20
+
**Problem:** Attempting to translate long blocks of text in forms or widgets can lead to API timeouts or failures.
21
+
**Solution:** Remove long text elements and translate them outside of FlutterFlow using external tools like Google Translate. Once translated, manually paste the content back into your project. Ensure the input field is empty before retrying automatic translation.
22
+
23
+
-**Special Characters**
24
+
**Problem:** Some special characters—such as emojis, accented symbols, or non-Latin characters—may not be supported by the Google Translate API and can cause translation to fail.
25
+
**Solution:** Review the text and replace or remove any unsupported special characters. Then attempt the translation again.
26
+
27
+
-**Exceeding Language Limit**
28
+
**Problem:** Adding more than 10 language options in your project may result in translation failure.
29
+
**Solution:** Limit your project to a maximum of 10 supported languages for translation to work reliably with Google Translate.
22
30
23
31
## Steps to Troubleshoot Translation Failures:
24
32
25
33
1.**Locate the Problem Area**
26
-
Identify whether the error occurs on a specific widget, page, or text field to narrow down the source of the issue.
34
+
Identify the specific widget, page, or field where translation fails. Focusing on the problematic component will make resolution faster.
35
+
36
+
2.**Use the Translate All Button**
37
+
In **App Settings > Localization**, click the **Translate All** button. The process will stop at the first failure, indicating the field or element causing the issue.
27
38
28
-
2.**Check the Browser Console**
29
-
Use Chrome DevTools to inspect the console for errors related to failed translation requests.
39
+
3.**Check Chrome Developer Console**
40
+
Open the Chrome DevTools console and monitor for any error logs related to translation requests. This can help identify issues such as invalid characters, request failures, or unsupported content.
30
41
31
-
3.**Use the Translate All Button**
32
-
Clicking **Translate All** will begin the process and stop at the first problematic field, helping you identify where the issue occurs.
42
+
4.**Remove and Isolate Problematic Text**
43
+
Temporarily delete the suspected text and retry the translation. If the translation proceeds successfully, that text is likely causing the failure. Manually translate and reinsert it.
33
44
34
-
4.**Temporarily Remove Problem Text**
35
-
If a specific field is causing an issue, delete the content, run the translation process, and then re-add the translated content manually.
45
+
:::note
46
+
Using shorter, plain-text strings without special characters improves success rates with the Google Translate API.
0 commit comments