Sweekly Apps

i18n String Catalog troubleshooting: error messages and fixes

Find the message the panel showed you, in quotes as the add-on writes it. A … stands for a name, number or text that changes. For setup and settings, see the help center.

Access to the spreadsheet

MessageCauseFix
"The add-on reads and writes only the spreadsheet you allow, and only while you use it here. Allow access to this spreadsheet to start."The add-on has no access to this spreadsheet yet.Click Allow access to this spreadsheet and allow it in the dialog.
"Allow access to this spreadsheet first."You clicked a button before access was granted, or the panel did not receive the grant.Click Allow access to this spreadsheet. If the panel keeps asking after you allowed it, reload the spreadsheet and open the add-on again.
"Google refused access to this spreadsheet (…). Click "Allow access to this spreadsheet" and try again."Google Sheets refused the add-on's request, for example because the add-on's access to this spreadsheet was removed. The text in brackets says what the add-on was doing.Click Allow access to this spreadsheet, allow it again, then repeat what you did. If it keeps happening, write to support@sweekly.app.
"Google Sheets is busy (too many requests). Wait a minute and try again."Google Sheets limited the number of requests. The add-on already retried once.Wait a minute, then click the button again.
"Google Sheets could not …: …"Google Sheets returned another error while the add-on read the tab, created it, grew it, wrote cells or wrote the report. Its own message follows the colon.Read Google's message. Try again; if it repeats, email support with the full text.

The catalogue tab

MessageCauseFix
"There is no catalogue in "…" yet. Set it up below, or import a file (the tab is created)."The tab named in Tab name does not exist or is empty.Click Set up the tab, import a file, or type the name of your existing tab and click Use this tab.
"There is no catalogue in "…" yet."You clicked Export or Run checks on a tab that does not exist or is empty.Set up the tab or import a file first, or choose another tab.
"No "key" column in row 1. Use "Set up the tab" or add a header named key."Row 1 of the tab has no key, keys, string key or id header.Add a header named key in row 1 above your keys, or use an empty tab and click Set up the tab.
""…" is not empty: it was left as it is."Set up the tab only writes into an empty tab.Add the header row yourself, or type a new tab name and click Set up the tab.
""i18n check" is the check report's tab: choose another tab for the catalogue."The name i18n check is kept for the Pro check report.Type another tab name.
"The tab "…" was not found."The tab was renamed or deleted while the add-on was writing to it.Check the tab name and try again.
"A tab named "i18n check" already exists and is not a check report: rename it so the report can be written."On Pro, Run checks writes its report to i18n check, but a tab of yours already has that name. The add-on does not clear it.Rename your tab, then click Run again.
"The tab has no locale column (a header such as en or fr)."No header in row 1 is a language code.Add a column with a header such as en or pt-BR.

Import

MessageCauseFix
"Choose a format."No format was selected.Choose one in Format.
"Paste the file's content first."The paste box is empty.Paste the whole file into Paste the file's content.
"The file is too long to paste (over 200,000 characters). Split it, or import one part at a time."The pasted text is longer than 200,000 characters.Split the file and import each part. Existing keys are kept, so the parts add up.
""…" is not a locale code such as en, fr or pt-BR."The Locale of the file, or the Source locale in Set up the tab, is not a language code.Enter a code such as en, fr, pt-BR or zh-Hans.
"The file names a locale the sheet cannot use as a header: "…"."An ARB or String Catalog file names a locale that is not a language code the add-on knows.Change the file's locale to a standard code, or import it as another format.
"This is not valid JSON: …"The pasted JSON, ARB or String Catalog text does not parse. The rest of the message says where.Paste the whole file, check the format choice, and fix the spot named.
"The JSON file must be an object of keys and strings."The JSON is a list or a single value, not an object.Paste a file shaped like {"home.title": "Home"}.
"The ARB file must be a JSON object."The ARB file is not an object.Paste the whole .arb file.
"This is not a String Catalog: no "strings" object."The pasted text is valid JSON but not a String Catalog.Paste the whole .xcstrings file, or choose the right format.
"This is not an Android resources file: no <resources> element."The pasted text has no <resources> element.Paste the whole strings.xml file.
"This is not a valid XML file: … is not a character."The Android file has a character reference (such as &#xD800;) that is not a valid character.Fix or remove that reference in the file.
"No strings found in the file." (sometimes followed by "Skipped: …")The file had no text the add-on can import, for example only plurals or arrays.Check the format and the file. Plurals and arrays are not imported. If it keeps happening, write to support@sweekly.app.
"Not imported: the tab would have … keys and … locales; your plan allows … keys and … locales."After the import, the tab would be over your plan's limit. Nothing was written.Import fewer keys or locales, remove unused ones from the tab, or upgrade to Pro (5,000 keys, 50 locales).
"Imported into "…": … new keys, … texts updated, … unchanged or kept." (sometimes "Skipped …: …")The import worked. "Kept" texts were already in the sheet and stayed, because Keep them was chosen.To overwrite them, import again with "Replace them with the file's".
"…: arrays are not imported"A JSON value was a list.Add those texts as separate keys if you need them in the sheet.
"…: not a string"An ARB entry's value was not text.None needed; that entry is skipped.
"… (…): plural or device variations are not imported"A String Catalog entry has plural or device variations.Keep those entries in the String Catalog itself.
"…: <plurals> is not imported" (also for string and integer arrays)The Android file has plurals or arrays.Keep those in the Android file itself.

Export and download

MessageCauseFix
"The tab has no "…" column."The locale you chose is no longer a column in the tab.Click Back and choose a locale again.
"Every locale in one ZIP is a Pro feature."Every locale (ZIP) needs Pro.Export one locale at a time, or upgrade.
"The export is too large to download in one file. Export one locale at a time."The file or ZIP would be over 1.4 MB.Export single locales. A String Catalog always holds every locale, so split very large catalogues across tabs.
"Your plan covers … keys and … locales: only the first … keys and … were used."The tab has more keys or locales than your plan. The export or check used only the first ones.Upgrade, or move keys to another tab.
"… is ready. The link works for 15 minutes."The export worked. For an Android file it also says where to put it, such as "Put it in res/values-fr/strings.xml."Click the Download button within 15 minutes.
"This download link has expired. Export again from the add-on."More than 15 minutes passed, or the link is wrong.Click Export again and download the new file.
"Duplicate key …: only its first row is exported."The same key is on two rows.Remove or rename the second row.
"… keys with no … text left out."Those keys have no text in that locale. They are left out of the file, not filled from the source.Add the missing texts, or let your app fall back to its default language.
"Key … clashes with another key's group: left out of the nested file."In nested JSON, a key such as home and a key such as home.title cannot both exist.Rename one key, or export flat JSON.
"… keys renamed for ARB (Flutter needs names such as homeTitle)."Keys with dots or other characters were turned into ARB names.None needed. Importing the file back fills the original rows.
"Keys … and … both become … in ARB: … left out."Two keys turn into the same ARB name.Rename one of the two keys.
"… keys renamed for Android (only letters, digits and _ are allowed)."Keys with dots or other characters were turned into Android resource names.None needed. Importing the file back fills the original rows.
"Keys … and … both become … on Android: … left out."Two keys turn into the same Android name.Rename one of the two keys.
"… (…) has several unnumbered placeholders: Android's build wants %1$s, %2$s…."A text has two or more placeholders such as %s without a position.Number them (%1$s, %2$s) in the sheet.

Checks

MessageCauseFix
"No problems found."Every check passed.None needed.
"… problems: … missing, … placeholder mismatches, … over max length, … duplicate keys, … rows without a key, … space differences."The summary of what was found. Only the kinds found are listed.Fix the items listed below the summary.
"… has no … text."The source locale has a text but this locale is empty.Add the translation.
"… (…): missing …, extra …."The placeholders differ from the source text: one is lost or one was added.Make the translation use the same placeholders. Numbered and unnumbered printf placeholders (%1$s and %s) are compared by count, so reordering is fine.
"… (…) has … characters, max …."The text is longer than the row's max length.Shorten the text, or raise the row's max length.
"… repeats row …."The key is on two rows.Remove or rename one row.
"Row … has text but no key."A row has texts in locale columns but an empty key cell.Add a key, or clear the row.
"… (…): leading or trailing spaces differ from …."The translation starts or ends with a space and the source does not, or the other way around.Match the source's spaces.
"…and … more."The panel lists the first 25 problems.Fix those and run again. On Pro, the full list is in the i18n check tab.
"Pro writes the full list to its own tab. 5 USD a month, …"On Free, more than 25 problems were found.Fix the listed ones and run again, or upgrade.

Plan and account

MessageCauseFix
"Paid plans are not open yet."The checkout could not be opened because paid plans are not set up.Use the Free plan, or email support.
"Unknown action."The panel sent a button the add-on does not know, usually from an old panel.Close the panel and open the add-on again.
"Your data was deleted. Opening the add-on again starts fresh."You clicked Delete now under Delete my data.None needed. A paid subscription is not cancelled by this; use Manage subscription.

Still stuck?

Email support@sweekly.app with the email address you use in Google Sheets, the exact text of the message and what you clicked. Never send a password or a token.

i18n String Catalog, by Sweekly Apps LLC