Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translations cache can't be refreshed due to missing strings from Gutenberg GlotPress #33364

Closed
fluiddot opened this issue Jul 12, 2021 · 6 comments
Labels
Internationalization (i18n) Issues or PRs related to internationalization efforts Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)

Comments

@fluiddot
Copy link
Contributor

Description

On the mobile version, we cached the translations files downloaded from GlotPress in the Gutenberg-Mobile repo, the purpose is to avoid the issue described here where critical strings were not included, therefore we use the cached version that contains them and since then we have used it when cutting new releases.

Recently, as I saw that the original issue was fixed, I proceed to refresh the cache, however, I noticed that we still lack a high number of translations.

New and removed strings between versions

Here you can see the new and removed strings between the cached version (created for version GB-mobile 1.52.2) and current one downloaded from GlotPress:

New strings (247)
[
    "The \"%s\" block was affected by errors and may not function properly. Check the developer tools for more details.",
    "Disable blocks that you don't want to appear in the inserter. They can always be toggled back on later.",
    "Visible blocks",
    "Review settings, such as visibility and tags.",
    "block description\u0004An advanced block that allows displaying post types based on different query parameters and visual configurations.",
    "block description\u0004Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.",
    "block title\u0004Post Template",
    "block keyword\u0004link",
    "No preview available.",
    "Widgets footer",
    "Display block breadcrumbs deactivated",
    "Display block breadcrumbs activated",
    "Templates help define the layout of the site. You can customize all aspects of your posts and pages using blocks and patterns in this editor.",
    "Describe the purpose of the template, e.g. \"Full Width\". Custom templates can be applied to any post or page.",
    "noun\u0004Document",
    "Are you sure you want to delete the %s template? It may be used by other pages or posts.",
    "%d block is hidden.",
    "Limit result set to users who have published posts.",
    "Block %1$s has been renamed to Post Template. %1$s will be supported until WordPress version 5.9.",
    "The calendar block is hidden because there are no published posts.",
    "block keyword\u0004movie",
    "block description\u0004Embed a video from your media library or upload a new one.",
    "block keyword\u0004poem",
    "block keyword\u0004poetry",
    "block description\u0004Insert poetry. Use special spacing formats. Or quote song lyrics.",
    "block description\u0004This block is deprecated. Please use the Columns block instead.",
    "block description\u0004A cloud of your most used tags.",
    "block style label\u0004Stripes",
    "block description\u0004Insert a table — perfect for sharing charts and data.",
    "block keyword\u0004summary",
    "block keyword\u0004document outline",
    "block description\u0004Summarize your post with a list of headings. Add HTML anchors to Heading blocks to link them here.",
    "block title\u0004Table of Contents",
    "block description\u0004Add white space between blocks and customize its height.",
    "block style label\u0004Pill Shape",
    "block style label\u0004Logos Only",
    "block description\u0004Display icons linking to your social media profiles or websites.",
    "block description\u0004Display an icon linking to a social media profile or website.",
    "block keyword\u0004description",
    "block description\u0004Describe in a few words what the website is about. The tagline can be used in search results or when sharing on social networks even if it's not displayed in the theme design.",
    "block description\u0004Insert additional custom elements with a WordPress shortcode.",
    "block style label\u0004Dots",
    "block style label\u0004Wide Line",
    "block keyword\u0004divider",
    "block keyword\u0004hr",
    "block keyword\u0004horizontal-line",
    "block description\u0004Create a break between ideas or sections with a horizontal separator.",
    "block keyword\u0004find",
    "block description\u0004Help visitors find your content.",
    "block keyword\u0004feed",
    "block keyword\u0004atom",
    "block description\u0004Display entries from any RSS or Atom feed.",
    "block style label\u0004Large",
    "block keyword\u0004cite",
    "block keyword\u0004blockquote",
    "block description\u0004Display the query title.",
    "block title\u0004Query Title",
    "block description\u0004Displays a paginated navigation to next/previous set of posts, when applicable.",
    "block description\u0004Displays the previous posts page link.",
    "block description\u0004Displays a list of page numbers for pagination",
    "block description\u0004Displays the next posts page link.",
    "block style label\u0004Solid color",
    "block description\u0004Give special visual emphasis to a quote from your text.",
    "block description\u0004Add text that respects your spacing and tabs, and also allows styling.",
    "block description\u0004Displays the title of a post, page, or any other content-type.",
    "block description\u0004Post terms.",
    "block description\u0004Displays the next or previous post link that is adjacent to the current post.",
    "block title\u0004Post Navigation Link",
    "block description\u0004Display a post's featured image.",
    "block description\u0004Display a post's excerpt.",
    "block description\u0004Add the date of this post.",
    "block description\u0004Displays the contents of a post or page.",
    "block description\u0004Display a post's comments.",
    "block description\u0004Displays the link to the current post comments.",
    "block description\u0004Display a post's comments form.",
    "block description\u0004Display a post's comments count.",
    "block description\u0004Post comment.",
    "block description\u0004Post comment date.",
    "block description\u0004Post comment content",
    "block description\u0004Post comment author.",
    "block description\u0004Add the author of this post.",
    "block keyword\u0004text",
    "block description\u0004Start with the building block of all narrative.",
    "block description\u0004Display a list of all pages.",
    "block keyword\u0004pagination",
    "block keyword\u0004next page",
    "block description\u0004Separate your content into a multi-page experience.",
    "block keyword\u0004navigation",
    "block keyword\u0004menu",
    "block description\u0004A collection of blocks that allow visitors to get around your site.",
    "block description\u0004Add a page, link, or another item to your navigation.",
    "block keyword\u0004read more",
    "block description\u0004Content before this block will be shown in the excerpt on your archives page.",
    "block description\u0004Your site doesn’t include support for this block.",
    "block keyword\u0004video",
    "block keyword\u0004image",
    "block description\u0004Set media and words side-by-side for a richer layout.",
    "block keyword\u0004form",
    "block keyword\u0004logout",
    "block keyword\u0004login",
    "block description\u0004Show login & logout links.",
    "block keyword\u0004numbered list",
    "block keyword\u0004ordered list",
    "block keyword\u0004bullet list",
    "block description\u0004Create a bulleted or numbered list.",
    "block description\u0004Display a legacy widget.",
    "block title\u0004Legacy Widget",
    "block keyword\u0004recent posts",
    "block description\u0004Display a list of your most recent posts.",
    "block keyword\u0004recent comments",
    "block description\u0004Display a list of your most recent comments.",
    "block style label\u0004Rounded",
    "block style label\u0004Default",
    "block keyword\u0004picture",
    "block keyword\u0004photo",
    "block keyword\u0004img",
    "block description\u0004Insert an image to make a visual statement.",
    "block keyword\u0004embed",
    "block description\u0004Add custom HTML code and preview it as you edit.",
    "block description\u0004Create a link that always points to the homepage of the site. Usually not necessary if there is already a site title link present in the header.",
    "block title\u0004Home Link",
    "block keyword\u0004subtitle",
    "block keyword\u0004title",
    "block keyword\u0004section",
    "block keyword\u0004row",
    "block keyword\u0004wrapper",
    "block keyword\u0004container",
    "block description\u0004Combine blocks into a group.",
    "block keyword\u0004photos",
    "block keyword\u0004images",
    "block description\u0004Display multiple images in a rich gallery.",
    "block description\u0004Use the classic WordPress editor.",
    "block keyword\u0004download",
    "block keyword\u0004pdf",
    "block keyword\u0004document",
    "block description\u0004Add a link to a downloadable file.",
    "block description\u0004Add an image or video with a text overlay — great for headers.",
    "block description\u0004A single column within a columns block.",
    "block description\u0004Display code snippets that respect your spacing and tabs.",
    "block description\u0004Display a list of all categories.",
    "block keyword\u0004archive",
    "block keyword\u0004posts",
    "block description\u0004A calendar of your site’s posts.",
    "block description\u0004Prompt visitors to take action with a group of button-style links.",
    "block style label\u0004Outline",
    "block style label\u0004Fill",
    "block description\u0004Prompt visitors to take action with a button-style link.",
    "block keyword\u0004recording",
    "block keyword\u0004podcast",
    "block keyword\u0004sound",
    "block keyword\u0004music",
    "block description\u0004Embed a simple audio player.",
    "block description\u0004Display a monthly archive of your posts.",
    "Letter-spacing",
    "Give the template a title that indicates its purpose, e.g. \"Full Width\".",
    "The OG image link of the <meta property=\"og:image\"> or <meta property=\"og:image:url\"> element from the URL.",
    "The content of the <meta name=\"description\"> element from the URL.",
    "The favicon image link of the <link rel=\"icon\"> element from the URL.",
    "Block %1$s is declaring %2$s support on block.json under supports.%2$s. %2$s support is now declared under supports.typography.%2$s.",
    "Points (pt)",
    "Picas (pc)",
    "Inches (in)",
    "Millimeters (mm)",
    "Centimeters (cm)",
    "x-height of the font (ex)",
    "Width of the zero (0) character (ch)",
    "Viewport largest dimension (vmax)",
    "Viewport smallest dimension (vmin)",
    "Percent (%)",
    "Welcome to the template editor",
    "Template Options",
    "Delete template",
    "Menu (selected)",
    "Your theme provides %s “block” area for you to add and edit content. Try adding a search bar, social icons, or other types of blocks here and see how they’ll look on your site.",
    "Margin",
    "New to the block editor?",
    "Get the Classic Widgets plugin.",
    "Want to stick with the old widgets?",
    "You can now add any block to your site’s widget areas. Don’t worry, all of your favorite widgets still work flawlessly.",
    "Your theme provides different “block” areas for you to add and edit content. Try adding a search bar, social icons, or other types of blocks here and see how they’ll look on your site.",
    "Welcome to block Widgets",
    "Contain text cursor inside block deactivated",
    "Contain text cursor inside block activated",
    "(Home link, opens in a new tab)",
    "Close menu",
    "Open menu",
    "Styles consolidated from core, theme, and user origins.",
    "Settings consolidated from core, theme, and user origins.",
    "Tools provide different interactions for selecting, navigating, and editing blocks. Toggle between select and edit by pressing Escape and Enter.",
    "Carousel view",
    "Next pattern",
    "Previous pattern",
    "Start blank",
    "Apply duotone filter",
    "Duotone",
    "Page on front",
    "Show on front",
    "Logo",
    "Tagline",
    "Are you sure you want to delete this navigation? This action cannot be undone.",
    "Highlights",
    "Shadows",
    "Duotone: %s",
    "Duotone code: %s",
    "Active theme gradients.",
    "Active theme font sizes.",
    "Active theme color palette.",
    "Maximum upload size in bytes allowed for the site.",
    "Available image sizes.",
    "Determines whether the image editing feature is enabled.",
    "Available image dimensions.",
    "Default size for images.",
    "Determines whether the current locale is right-to-left (RTL).",
    "Enables custom units.",
    "Enables custom spacing.",
    "Enables custom line height.",
    "Disables custom font size.",
    "Disables custom colors.",
    "Returns all the categories for block types that will be shown in the block editor.",
    "List of allowed mime types and file extensions.",
    "List of allowed block types.",
    "Enable/Disable Wide/Full Alignments.",
    "Global styles settings.",
    "Global styles user entity ID.",
    "Widget types to hide from Legacy Widget block.",
    "Enable/disable layouts support in container blocks.",
    "Returns if the current theme is full site editing-enabled or not.",
    "Editor styles",
    "Enables experimental Full Site Editing blocks",
    "Sorry, you are not allowed to read the block editor settings.",
    "Block HTML:",
    "Create custom template",
    "block description\u0004Display the description of categories, tags and custom taxonomies when viewing an archive.",
    "block description\u0004Useful for displaying a graphic mark, design, or symbol to represent the site. Once a site logo is set, it can be reused in different places and templates. It should not be confused with the site icon, which is the small image used in the dashboard, browser tabs, public search results, etc, to help recognize a site.",
    "block description\u0004Edit the different global regions of your site, like the header, footer, sidebar, or create your own.",
    "The contents of the <title> element from the URL.",
    "block title\u0004Post Terms",
    "block description\u0004Displays and allows editing the name of the site. The site title usually appears in the browser title bar, in search results, and more. Also available in Settings > General.",
    "block keyword\u0004links",
    "Choose",
    "https://wordpress.org/plugins/classic-widgets/",
    "block description\u0004Give quoted text visual emphasis. \"In quoting others, we cite ourselves.\" — Julio Cortázar",
    "block description\u0004Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.",
    "block description\u0004Create and save content to reuse across your site. Update the block, and the changes apply everywhere it’s used.",
    "block description\u0004Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube.",
    "block description\u0004Add a block that displays content in multiple columns, then add whatever content blocks you’d like.",
    "Gutenberg development mode requires files to be built. Run <code>npm install</code> to install dependencies, <code>npm run build</code> to build the files or <code>npm run dev</code> to build the files and watch for changes. Read the <a href=\"https://github.com/WordPress/gutenberg/blob/HEAD/docs/contributors/code/getting-started-with-code-contribution.md\">contributing</a> file for more information."
]
Removed strings (805) ⚠️
[
    "100",
    "Create a custom template",
    "Term description.",
    "Display the description of categories, tags and custom taxonomies when viewing an archive.",
    "Post Comments Link block: post not found.",
    "%s comment",
    "No comments",
    "Displays the link to the current post comments.",
    "Displays the contents of a post or page.",
    "Provided type is not supported.",
    "Archive title",
    "Display the query title.",
    "Query Title",
    "Display the archive title based on the queried object.",
    "Archive Title",
    "Useful for displaying a graphic mark, design, or symbol to represent the site. Once a site logo is set, it can be reused in different places and templates. It should not be confused with the site icon, which is the small image used in the dashboard, browser tabs, public search results, etc, to help recognize a site.",
    "Click plus to add",
    "Convert",
    "Note: if you add new pages to your site, you'll need to add them to your navigation menu.",
    "To edit this navigation menu, convert it to single page links. This allows you to add, re-order, remove items, or edit their labels.",
    "Convert to links",
    "Log out",
    "Redirect to current URL",
    "Display login as form",
    "Login/out settings",
    "form",
    "logout",
    "login",
    "Show login & logout links.",
    "An error occured while updating the widget.",
    "A link to a custom URL.",
    "Custom Link",
    "Embed of %s.",
    "PDF embed",
    "Embed of the selected PDF file.",
    "Copied URL to clipboard.",
    "Note: Most phone and tablet browsers won't display embedded PDFs.",
    "Show inline embed",
    "PDF settings",
    "%1$s (%2$d of %3$d)",
    "Add citation",
    "Add quote",
    "Add caption",
    "viewport heights",
    "viewport widths",
    "percent",
    "pixels",
    "Border",
    "Clear customizations",
    "Restore template to theme default",
    "Template revert failed. Please reload.",
    "Template reverted.",
    "The editor has encountered an unexpected error. Please reload.",
    "This template is not revertable.",
    "Where We Are",
    "Our Work",
    "Block pattern title\u0004Two buttons",
    "Block pattern description\u0004Two columns of text",
    "DUBAI ROOFS<br>MAY WATSON STUDIO<br>Y.O.L<br>RUDIMENTAR",
    "EARTHFUND™<br>ARCHWEEKLY<br>FUTURE ROADS<br>BUILDING NY",
    "We have worked with:",
    "Block pattern title\u0004Two columns of text",
    "Block pattern description\u0004Large header with background image and text and button on top",
    "Visit",
    "An exhibition about the different representations of the ocean throughout time, between the sixteenth and the twentieth century. Taking place in our Open Room in <em>Floor 2</em>.",
    "1500 — 1960",
    "Overseas:",
    "Block pattern title\u0004Large header with text and a button.",
    "Block pattern description\u0004Three columns with images and text",
    "Undoubtedly we have no questions to ask which are unanswerable. We must trust the perfection of the creation so far, as to believe that whatever curiosity the order of things has awakened in our minds, the order of things can satisfy. Every man's condition is a solution in hieroglyphic to those inquiries he would put.",
    "The sun shining over a ridge leading down into the shore. In the distance, a car drives down a road.",
    "Wind turbines standing on a grassy plain, against a blue sky.",
    "The sun setting through a dense forest of trees.",
    "<em>Nature</em>, in the common sense, refers to essences unchanged by man; space, the air, the river, the leaf.&nbsp;<em>Art</em>&nbsp;is applied to the mixture of his will with the same things, as in a house, a canal, a statue, a picture. But his operations taken together are so insignificant, a little chipping, baking, patching, and washing, that in an impression so grand as that of the world on the human mind, they do not vary the result.",
    "Natural resources.",
    "ECOLOGY",
    "Block pattern title\u0004Three columns with images and text",
    "Block pattern description\u0004Three columns of text",
    "Get to know our opening times, ticket prices and discounts.",
    "Useful Info ↗",
    "Stay updated and see our current exhibitions here.",
    "Current Shows ↗",
    "Get a virtual tour of the museum. Ideal for schools and events.",
    "Virtual Tour ↗",
    "Block pattern title\u0004Three columns of text",
    "Block pattern description\u0004Three columns with offset images",
    "Close-up of the corner of a white, geometric building with both sharp points and round corners.",
    "Close-up, angled view of a window on a white building.",
    "Close-up, abstract view of geometric architecture.",
    "Block pattern title\u0004Three columns with offset images",
    "Block pattern description\u0004Heading text",
    "We're a studio in Berlin with an international practice in architecture, urban planning and interior design. We believe in sharing knowledge and promoting dialogue to increase the creative potential of collaboration.",
    "Block pattern title\u0004Heading",
    "Block pattern description\u0004Two images side by side",
    "An aerial view of a field. A road runs through the upper right corner.",
    "An aerial view of waves crashing against a shore.",
    "Block pattern title\u0004Two images side by side",
    "Block pattern description\u0004Cover image with quote on top",
    "Even a child knows how valuable the forest is. The fresh, breathtaking smell of trees. Echoing birds flying above that dense magnitude. A stable climate, a sustainable diverse life and a source of culture. Yet, forests and other ecosystems hang in the balance, threatened to become croplands, pasture, and plantations.",
    "Forest.",
    "Block pattern title\u0004Large header with left-aligned text",
    "Block pattern description\u0004Two columns of text with offset heading",
    "No darkness would ever settle upon those lamps, as no darkness had settled upon them for hundreds of years. It seemed dreadful that the town should blaze for ever in the same spot; dreadful at least to people going away to adventure upon the sea, and beholding it as a circumscribed mound, eternally burnt, eternally scarred. From the deck of the ship the great city appeared a crouched and cowardly figure, a sedentary miser.",
    "Winding veils round their heads, the women walked on deck. They were now moving steadily down the river, passing the dark shapes of ships at anchor, and London was a swarm of lights with a pale yellow canopy drooping above it. There were the lights of the great theatres, the lights of the long streets, lights that indicated huge squares of domestic comfort, lights that hung high in air.",
    "Oceanic Inspiration",
    "Block pattern title\u0004Two columns of text with offset heading",
    "Block pattern description\u0004Two columns text and title",
    "The ship was making her way steadily through small waves which slapped her and then fizzled like effervescing water, leaving a little border of bubbles and foam on either side. The colourless October sky above was thinly clouded as if by the trail of wood-fire smoke, and the air was wonderfully salt and brisk. Indeed it was too cold to stand still. Mrs. Ambrose drew her arm within her husband's, and as they moved off it could be seen from the way in which her sloping cheek turned up to his that she had something private to communicate.",
    "They followed her on to the deck. All the smoke and the houses had disappeared, and the ship was out in a wide space of sea very fresh and clear though pale in the early light. They had left London sitting on its mud. A very thin line of shadow tapered on the horizon, scarcely thick enough to stand the burden of Paris, which nevertheless rested upon it. They were free of roads, free of mankind, and the same exhilaration at their freedom ran through them all.",
    "The voyage had begun, and had begun happily with a soft blue sky, and a calm sea.",
    "Block pattern title\u0004Two columns text and title",
    "Block pattern description\u0004Media and text block with image to the left and text and button to the right",
    "Trees are more important today than ever before. More than 10,000 products are reportedly made from trees. Through chemistry, the humble woodpile is yielding chemicals, plastics and fabrics that were beyond comprehension when an axe first felled a Texas tree.",
    "What's the problem?",
    "Close-up of dried, cracked earth.",
    "Block pattern title\u0004Media & text in a full height container",
    "Block pattern description\u0004Media and text block with image to the right and text to the left",
    "Eleanor Harris&nbsp;(American, 1901-1942)",
    "Shore with Blue Sea",
    "A green and brown rural landscape leading into a bright blue ocean and slightly cloudy sky, done in oil paints.",
    "Block pattern title\u0004Media & text with image on the right",
    "Block pattern description\u0004Testimonial quote with portrait",
    "— Anna Wong, <em>Volunteer</em>",
    "\"Contributing makes me feel like I'm being useful to the planet.\"",
    "A side profile of a woman in a russet-colored turtleneck and white bag. She looks up with her eyes closed.",
    "Block pattern title\u0004Quote",
    "Block pattern description\u0004Media and text block with image to the left and text to the right",
    "See case study ↗",
    "Open Spaces",
    "Close-up, abstract view of architecture.",
    "Block pattern title\u0004Media and text with image on the right",
    "Display a post's categories.",
    "Query block `inherit` option helping text\u0004Customize the query arguments.",
    "Query block `inherit` option helping text\u0004Inherit the global query depending on the URL.",
    "Layout list",
    "The footer template defines a page area that typically contains site credits, social links, or any other combination of blocks. Since it's a global element it can be present across all pages and posts.",
    "The header template defines a page area that typically contains a title, logo, and main navigation. Since it's a global element it can be present across all pages and posts.",
    "Default based on area (%s)",
    "Area",
    "Width in pixels",
    "navigation link preview example\u0004Example Link",
    "Add a link",
    "Select a tag",
    "Select a category",
    "Select a page",
    "Select a post",
    "Edit menu name: %s",
    "Unused templates",
    "General templates",
    "Post templates",
    "Could not render Template Part block with the attributes: <code>%s</code>. Block cannot be rendered inside itself.",
    "Create a template part",
    "Template part created.",
    "Close settings sidebar",
    "Footers",
    "Headers",
    "If you have entered a custom label, it will be prepended before the title.",
    "Display the title as a link",
    "Displays the next or previous post link that is adjacent to the current post.",
    "name of the block that displays the next or previous post link that is adjacent to the current post\u0004Post Navigation Link",
    "Displays the post link that precedes the current post.",
    "Previous post",
    "Displays the post link that follows the current post.",
    "Next post",
    "Edit the different global regions of your site, like the header, footer, sidebar, or create your own.",
    "Display a list of all pages.",
    "Your site does not have any posts, so there is nothing to display here at the moment.",
    "Enable Widgets screen in Customizer",
    "The contents of the <title> tag from the URL.",
    "An example title",
    "Displays the title of a post, page, or any other content-type.",
    "Previous page link",
    "Previous Page",
    "Displays the previous posts page link.",
    "Displays a list of page numbers for pagination",
    "Next page link",
    "Next Page",
    "Displays the next posts page link.",
    "Displays a paginated navigation to next/previous set of posts, when applicable.",
    "Max page to show",
    "Limit the pages you want to show, even if the query has more results. To show all pages use 0 (zero).",
    "Icon background color",
    "Icon color",
    "Block cannot be rendered inside itself.",
    "Indent",
    "Outdent",
    "Ordered",
    "Unordered",
    "Add Media",
    "Add text over image",
    "Custom size",
    "Root",
    "Editing %s:",
    "Could not render Reusable Block <strong>%s</strong>. Block cannot be rendered inside itself.",
    "block title\u0004Post Tags",
    "block title\u0004Post Hierarchical Terms",
    "block title\u0004Query",
    "Untitled Template Part",
    "Post excerpt text",
    "Post author byline text",
    "Disable the option to customize the query arguments. Leave enabled to inherit the global query depending on the URL.",
    "Inherit query from URL",
    "<a>Create a new post</a> for this feed.",
    "Default (<div>)",
    "HTML element",
    "Write site title…",
    "Site title text",
    "Write site tagline…",
    "Site tagline text",
    "Wood thrush singing in Central Park, NYC.",
    "Video caption text",
    "Write verse…",
    "Verse text",
    "Column %d text",
    "Table caption text",
    "Footer cell text",
    "Body cell text",
    "Header cell text",
    "Shortcode text",
    "Pullquote citation text",
    "Pullquote text",
    "Preformatted text",
    "List text",
    "Navigation link text",
    "Start empty",
    "Add all pages",
    "Existing menu",
    "Download button text",
    "Buttons shown in a column.",
    "Buttons shown in a row.",
    "Audio caption text",
    "Gallery caption text",
    "Quote citation text",
    "Quote text",
    "Heading text",
    "Image caption text",
    "Editing template: %s",
    "[Draft]",
    "To show a comment, input the comment ID.",
    "No Title",
    "Image, Date, & Title",
    "Title & Date",
    "Display a list of your most recent posts, excluding sticky posts.",
    "Posts List",
    "Keyword",
    "Filters",
    "Button width",
    "Width settings",
    "Colors are empty! Add some colors to create your own color palette.",
    "Displays a list of posts as a result of a query.",
    "Title, Date, & Excerpt",
    "Title & Excerpt",
    "Sticky posts",
    "Only",
    "Exclude",
    "Include",
    "Make template part",
    "Detach blocks from template part",
    "Navigation Sidebar",
    "Dashboard",
    "Browse all templates",
    "Browse all templates. This will open the template menu in the navigation side panel.",
    "Show %s details",
    "Review settings such as categories and tags.",
    "Widget: %s",
    "Items per Page",
    "List of template parts",
    "Displays and allows editing the name of the site. The site title usually appears in the browser title bar, in search results, and more. Also available in Settings > General.",
    "In a few words, what this site is about.",
    "Add tracks",
    "Remove track",
    "English",
    "Kind",
    "Language tag (en, fr, etc.)",
    "Source language",
    "Title of track",
    "Label",
    "Edit track",
    "Text tracks",
    "Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.",
    "Chapters",
    "Descriptions",
    "Captions",
    "Subtitles",
    "Repeated background",
    "One column",
    "The handler for the route is invalid",
    "The requested route does not support batch requests.",
    "Could not parse the path.",
    "Make title a link",
    "Open links in new tab",
    "Read more link text",
    "A collection of blocks that allow visitors to get around your site.",
    "Reset to defaults",
    "Toggle navigation",
    "By Block Type",
    "Link color",
    "Close global styles sidebar",
    "Tags",
    "Percentage Width",
    "Display Settings",
    "Use button with icon",
    "Button Inside",
    "Button Outside",
    "No Button",
    "Change button position",
    "Toggle search label",
    "Link title",
    "Modes",
    "Post Hierarchical Terms block: post not found.",
    "Term items not found.",
    "Post Categories",
    "Display a post's featured image.",
    "Display a post's comments form.",
    "Display a post's comments count.",
    "Display a post's comments.",
    "Post Comment Date",
    "Post Comment Content",
    "Anonymous",
    "Post Comment Author",
    "Post Comment",
    "read more",
    "Add link to featured image",
    "A link to a tag.",
    "Tag Link",
    "A link to a category.",
    "Category Link",
    "A link to a page.",
    "Page Link",
    "A link to a post.",
    "Post Link",
    "Create draft post: <mark>%s</mark>",
    "picture",
    "Post tags block: No post found for this block.",
    "Post tags block: Tags are not available for this post type.",
    "Find out more",
    "Display a post's tags.",
    "Post excerpt block: no post found.",
    "Display a post's excerpt.",
    "No post excerpt found",
    "Add the date of this post.",
    "Post Comments Form block: comments to this post are not allowed.",
    "Post Comments Form block: comments are not enabled for this post type.",
    "Post Comments Count block: post not found.",
    "Post comments block: no post found.",
    "Add the author of this post.",
    "Insert column after",
    "Insert column before",
    "Insert row after",
    "Insert row before",
    "Combine blocks into a group.",
    "Block pattern description\u0004Two buttons, one filled and one outlined, side by side.",
    "Contact us",
    "New template part",
    "Create a new template part or pick an existing one from the list.",
    "Upload an image, or pick one from your media library, to be your site logo",
    "Site Logo",
    "Image width",
    "Choose existing",
    "Edit gallery image",
    "Upload external image",
    "Image uploaded.",
    "Could not edit image. %s",
    "Original",
    "Template Part \"%s\" inserted.",
    "Opacity",
    "2:3",
    "3:4",
    "9:16",
    "10:16",
    "Portrait",
    "Landscape",
    "Export",
    "Download your templates and template parts.",
    "3:2",
    "4:3",
    "16:9",
    "16:10",
    "Aspect Ratio",
    "Crop",
    "Rotate",
    "Zoom",
    "Display author name",
    "template part",
    "This is a placeholder for post content.",
    "Change content position",
    "Posts",
    "Pages",
    "Are you sure you want to delete this navigation?",
    "Write byline…",
    "Show bio",
    "Avatar size",
    "Show avatar",
    "Author Settings",
    "This column count exceeds the recommended amount and may cause visual breakage.",
    "Search results",
    "Browser default",
    " … ",
    "Links shown in a column.",
    "Navigation (vertical)",
    "Links shown in a row.",
    "Navigation (horizontal)",
    "Minimum height of cover",
    "No comments.",
    "Contact",
    "About",
    "Home",
    "25 / 50 / 25",
    "33 / 33 / 33",
    "70 / 30",
    "30 / 70",
    "50 / 50",
    "Link to %s",
    "Create draft page: <mark>%s</mark>",
    "No tags.",
    "Read more…",
    "Show link on new line",
    "Max words",
    "Post Excerpt Settings",
    "Date Format",
    "Format settings",
    "Change Date",
    "Post Comments Form",
    "Display icons linking to your social media profiles or websites.",
    "Select poster image",
    "Post content",
    "Media file",
    "Change heading level",
    "survey",
    "social",
    "Edit Page Template",
    "Loading…",
    "Add Template",
    "Display an icon linking to a social media profile or website.",
    "Social Icon",
    "block keywords\u0004links",
    "Image alignment",
    "Display featured image",
    "Featured image settings",
    "Show submenu indicator icons",
    "Embed a TikTok video.",
    "Display settings",
    "No Date",
    "Post Author",
    "Footer label",
    "Header label",
    "The description will be displayed in the menu if the current theme supports it.",
    "Level %1$s. %2$s",
    "Level %s. Empty.",
    "Empty",
    "Briefly describe the link to help screen reader users.",
    "Link label",
    "%s label",
    "poem",
    "Matt Mullenweg",
    "EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)\nWindow, very small in the distance, illuminated.\nAll around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;",
    "Full post",
    "Show:",
    "Suspendisse commodo neque lacus, a dictum orci interdum et.",
    "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.",
    "Prompt visitors to take action with a group of button-style links.",
    "Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.",
    "// A \"block\" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );",
    "ADD MEDIA",
    "Page templates",
    "Add submenu",
    "Add link…",
    "recording",
    "podcast",
    "sound",
    "WHAT was he doing, the great god Pan,\n\tDown in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n    With the dragon-fly on the river.",
    "(Note: many devices and browsers do not display this text.)",
    "Describe the role of this image on the page.",
    "December 6, 2018",
    "February 21, 2019",
    "May 7, 2019",
    "Release Date",
    "Jazz Musician",
    "Version",
    "Six.",
    "Five.",
    "Four.",
    "Three.",
    "Two.",
    "One.",
    "One of the hardest things to do in technology is disrupt yourself.",
    "— Kobayashi Issa (一茶)",
    "The wren<br>Earns his living<br>Noiselessly.",
    "Welcome to the wonderful world of blocks…",
    "<strong>Snow Patrol</strong>",
    "Dimensions",
    "Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.",
    "Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.",
    "Call to Action",
    "In quoting others, we cite ourselves.",
    "cite",
    "Mont Blanc appears—still, snowy, and serene.",
    "In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing.",
    "Enter address",
    "Pill Shape",
    "Logos Only",
    "Open block navigation",
    "Attachment page",
    "Fill",
    "Link rel",
    "Write gallery caption…",
    "%d block is disabled.",
    "Reverse list numbering",
    "Start value",
    "Ordered list settings",
    "Clear Media",
    "Change column alignment",
    "Align column right",
    "Align column center",
    "Align column left",
    "Add a page, link, or another item to your navigation.",
    "Title attribute",
    "description",
    "links",
    "navigation",
    "menu",
    "Upload a file or pick one from your media library.",
    "Learn more about embeds",
    "https://wordpress.org/support/article/embeds/",
    "Paste a link to the content you want to display on your site.",
    "Upload an image or video file, or pick one from your media library.",
    "Three columns; wide center column",
    "Three columns; equal split",
    "Two columns; two-thirds, one-third split",
    "Two columns; one-third, two-thirds split",
    "Two columns; equal split",
    "More tools & options",
    "Create Table",
    "Insert a table for sharing data.",
    "Move image forward",
    "Move image backward",
    "Note: Autoplaying videos may cause usability issues for some visitors.",
    "Footer section",
    "Header section",
    "Sorting and filtering",
    "Post meta settings",
    "Post content settings",
    "Column settings",
    "Note: Autoplaying audio may cause usability issues for some visitors.",
    "Sidebars",
    "There is no poster image currently selected",
    "The current poster image url is %s",
    "section",
    "row",
    "wrapper",
    "container",
    "Crop image to fill entire column",
    "Play inline",
    "Leave empty if the image is purely decorative.",
    "Describe the purpose of the image",
    "Display a legacy widget.",
    "Change widget",
    "keyboard key\u0004Space",
    "keyboard key\u0004Backspace",
    "Block Manager",
    "Embedded content from %s can't be previewed in the editor.",
    "link",
    "Prompt visitors to take action with a button-style link.",
    "A cloud of your most used tags.",
    "Tag Cloud settings",
    "- Select -",
    "find",
    "Help visitors find your content.",
    "Add button text…",
    "Button text",
    "Optional placeholder…",
    "Optional placeholder text",
    "Add label…",
    "Label text",
    "image %1$d of %2$d in gallery",
    "archive",
    "posts",
    "A calendar of your site’s posts.",
    "feed",
    "atom",
    "Display entries from any RSS or Atom feed.",
    "Max number of words in excerpt",
    "Display excerpt",
    "Display date",
    "Display author",
    "RSS settings",
    "Edit RSS URL",
    "Content before this block will be shown in the excerpt on your archives page.",
    "Hide the excerpt on the full content page",
    "The excerpt is visible.",
    "The excerpt is hidden.",
    "Sorry, this content could not be embedded.",
    "Embed Amazon Kindle content.",
    "ebook",
    "Embed Crowdsignal (formerly Polldaddy) content.",
    "Focal point picker",
    "content placeholder\u0004Content…",
    "button label\u0004Convert to link",
    "button label\u0004Try again",
    "This image has an empty alt attribute",
    "This image has an empty alt attribute; its file name is %s",
    "Empty block; start writing or type forward slash to choose a block",
    "Paragraph block",
    "Stack on mobile",
    "Drag images, upload new ones or select files from your library.",
    "button label\u0004Download",
    "button label\u0004Embed",
    "block style\u0004Large",
    "block style\u0004Rounded",
    "Document and block tools",
    "Embed a video from your media library or upload a new one.",
    "Insert poetry. Use special spacing formats. Or quote song lyrics.",
    "Add white space between blocks and customize its height.",
    "Insert additional custom elements with a WordPress shortcode.",
    "Create a break between ideas or sections with a horizontal separator.",
    "Give quoted text visual emphasis. \"In quoting others, we cite ourselves.\" — Julio Cortázar",
    "Give special visual emphasis to a quote from your text.",
    "Start with the building block of all narrative.",
    "Separate your content into a multi-page experience.",
    "Set media and words side-by-side for a richer layout.",
    "Media & Text settings",
    "Create a bulleted or numbered list.",
    "Display a list of your most recent comments.",
    "Insert an image to make a visual statement.",
    "Add custom HTML code and preview it as you edit.",
    "Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.",
    "Display multiple images in a rich gallery.",
    "Add a link to a downloadable file.",
    "Resize for smaller devices",
    "This embed may not preserve its aspect ratio when the browser is resized.",
    "This embed will preserve its aspect ratio when the browser is resized.",
    "Embed an Animoto video.",
    "Embed a Vimeo video.",
    "Embed Flickr content.",
    "Embed Spotify content.",
    "Embed SoundCloud content.",
    "Embed a WordPress post.",
    "Embed an Instagram post.",
    "Embed a Facebook post.",
    "Embed a WordPress.tv video.",
    "Embed a VideoPress video.",
    "Embed a Tumblr post.",
    "Embed a TED video.",
    "Embed Speaker Deck content.",
    "Embed a YouTube video.",
    "Embed SmugMug content.",
    "Embed Slideshare content.",
    "Embed Scribd content.",
    "Embed Screencast content.",
    "Embed ReverbNation content.",
    "Embed a Reddit thread.",
    "Embed Mixcloud content.",
    "Embed a tweet.",
    "Embed Meetup.com content.",
    "Embed Kickstarter content.",
    "Embed Issuu content.",
    "Embed Imgur content.",
    "Embed a Dailymotion video.",
    "Embed CollegeHumor content.",
    "Embed Cloudup content.",
    "Add an image or video with a text overlay — great for headers.",
    "Display code snippets that respect your spacing and tabs.",
    "Use the classic WordPress editor.",
    "Display a list of all categories.",
    "Embed a simple audio player.",
    "editor button\u0004Left to right",
    "Stripes",
    "Your site doesn’t include support for this block.",
    "Your site doesn’t include support for the \"%s\" block. You can leave this block intact or remove it entirely.",
    "Your site doesn’t include support for the \"%s\" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.",
    "Media area",
    "Show media on right",
    "Show media on left",
    "Cover",
    "Huge",
    "Normal",
    "All Posts",
    "Solid color",
    "Main color",
    "HTML",
    "Write HTML…",
    "Media settings",
    "Overlay",
    "Poster image",
    "This block is deprecated. Please use the Columns block instead.",
    "Row count",
    "Column count",
    "blockquote",
    "Create and save content to reuse across your site. Update the block, and the changes apply everywhere it’s used.",
    "movie",
    "Learn more",
    "Alt text (alternative text)",
    "Edit URL",
    "Muted",
    "Video settings",
    "recent comments",
    "Display avatar",
    "Latest comments settings",
    "Number of comments",
    "Auto",
    "Preload",
    "Audio settings",
    "Display a monthly archive of your posts.",
    "Archives settings",
    "Dots",
    "Wide Line",
    "Show download button",
    "Download button settings",
    "Link to",
    "Text link settings",
    "download",
    "pdf",
    "document",
    "Copy URL",
    "Write file name…",
    "A single column within a columns block.",
    "Square",
    "Outline",
    "Loop",
    "Autoplay",
    "Playback controls",
    "Replace image",
    "Enter URL here…",
    "Insert a table — perfect for sharing charts and data.",
    "Fixed width table cells",
    "Table settings",
    "Add text that respects your spacing and tabs, and also allows styling.",
    "Display a list of your most recent posts.",
    "Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube.",
    "Add a block that displays content in multiple columns, then add whatever content blocks you’d like.",
    "Height in pixels",
    "Spacer settings",
    "Toggle to show a large initial letter.",
    "Showing large initial letter.",
    "Page break",
    "pagination",
    "next page",
    "Thumbnails are not cropped.",
    "Thumbnails are cropped to align.",
    "Featured Image",
    "poetry",
    "New Column",
    "Delete column",
    "Delete row",
    "Edit table",
    "Table",
    "Write shortcode here…",
    "Shortcode",
    "divider",
    "horizontal-line",
    "Write preformatted text…",
    "text",
    "Paragraph",
    "Drop cap",
    "Text settings",
    "Read more",
    "numbered list",
    "ordered list",
    "bullet list",
    "Indent list item",
    "Outdent list item",
    "Convert to ordered list",
    "Convert to unordered list",
    "List",
    "recent posts",
    "No posts found.",
    "Latest Posts",
    "Display post date",
    "Size",
    "Image settings",
    "embed",
    "subtitle",
    "title",
    "Heading",
    "Heading %d",
    "photos",
    "images",
    "Crop images",
    "Gallery settings",
    "Classic",
    "video",
    "audio",
    "music",
    "image",
    "blog",
    "post",
    "Embedded content from %s",
    "Enter URL to embed here…",
    "%s URL",
    "Embedding…",
    "Write title…",
    "Fixed background",
    "Edit image",
    "Columns",
    "Code",
    "Write code…",
    "Show hierarchy",
    "Show post counts",
    "Display as dropdown",
    "Categories settings",
    "Add text…",
    "Block has been deleted or is unavailable.",
    "Use URL",
    "Gutenberg development mode requires files to be built. Run <code>npm install</code> to install dependencies, <code>npm run build</code> to build the files or <code>npm run dev</code> to build the files and watch for changes. Read the <a href=\"https://github.com/WordPress/gutenberg/blob/HEAD/docs/contributors/getting-started.md\">contributing</a> file for more information.",
    "Metadata"
]

As you can observe, there're 805 strings that have been removed between both versions, I understand that some of them are actual strings that are no longer used, but I checked a couple of them and I see that are referenced in the code:

Example 1

String: Spacer settings
Referenced in: block-library/src/spacer/edit.js:161

<PanelBody title={ __( 'Spacer settings' ) }>

Included in Gutenberg GlotPress project: No

Example 2

String: Write verse…
Referenced in: block-library/src/verse/edit.js:53

placeholder={ __( 'Write verse…' ) }

Included in Gutenberg GlotPress project: No

I'm not sure what's causing this issue but probably we have another problem when parsing the code files and generating the localization strings files.

Step-by-step reproduction instructions

N/A

Expected behaviour

Strings referenced in the code should be present in the translations files.

Actual behaviour

Some strings referenced in the code are not present in the translations files.

Screenshots or screen recording (optional)

N/A

WordPress information

  • WordPress version: N/A
  • Gutenberg version: N/A
  • Are all plugins except Gutenberg deactivated? N/A
  • Are you using a default theme (e.g. Twenty Twenty-One)? N/A

Device information

  • Device: N/A
  • Operating system: N/A
  • WordPress app version: N/A
@swissspidy
Copy link
Member

Since all these strings are from the block-library package, I think this is a duplicate of wp-cli/i18n-command#255

See also #33341

cc @ocean90

@swissspidy swissspidy added the Internationalization (i18n) Issues or PRs related to internationalization efforts label Jul 13, 2021
@fluiddot
Copy link
Contributor Author

Since all these strings are from the block-library package, I think this is a duplicate of wp-cli/i18n-command#255

See also #33341

cc @ocean90

Thanks for pointing out the issue references and for the quick response 🙇 ! Yeah, after checking the issue you pointed, I agree that looks like a duplicate.

@hypest
Copy link
Contributor

hypest commented Jul 15, 2021

Can we close this ticket @fluiddot, especially now that the duplicate-of is closed? Or is there some more context captured in this one?

@fluiddot
Copy link
Contributor Author

Can we close this ticket @fluiddot, especially now that the duplicate-of is closed? Or is there some more context captured in this one?

I would keep it open because although the duplicate-of is closed, until the Gutenberg GlotPress project gets updated with the missing strings, the translations cache in GB-mobile can't be refreshed.

@swissspidy
Copy link
Member

Since WordPress.org was already patched to include that fix, I assume this should be resolved once GB 11.1 is released on the plugin directory.

@fluiddot
Copy link
Contributor Author

Since WordPress.org was already patched to include that fix, I assume this should be resolved once GB 11.1 is released on the plugin directory.

Ok, in that case, I think we can close the issue as it will eventually be fixed with the GB 11.1 release. The GB 11.1 milestone's due date is July 14, 2021 so it won't take too long until is updated 🎊 .

Thank you so much @swissspidy for the help on this issue 🙇 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internationalization (i18n) Issues or PRs related to internationalization efforts Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
Projects
None yet
Development

No branches or pull requests

3 participants