{
  "title": "Language fallback simulator",
  "human_url": "https://happytails.ai/en/developer-tools/language-fallback-simulator/",
  "agent_url": "https://happytails.ai/agents/en/developer-tools/language-fallback-simulator/",
  "language": "en",
  "markdown_url": "https://happytails.ai/en/developer-tools/language-fallback-simulator.md",
  "content": "Language fallback simulator\nSee which locale resource wins for each key under explicit fallback rules, including missing resources and unresolved values.\nHow can we improve this tool?\nReport a problem or share an idea.\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\nHow to use Language fallback simulator\nPaste the documented input and choose the relevant settings.\nRun the local diagnostic and inspect its findings.\nDownload the complete output and reports. Tables preview the first 200 rows.\nUseful next steps\nJSON path inventory\nJSON validator\nControl the fallback chain explicitly\nList the resources and their exact lookup order for each request. A present null or empty string wins. No regional parent chain, framework behavior or network resource is assumed.\nKeep the complete report\nJSON records the full result, settings and assumptions. CSV contains exact JSON Pointer paths, value types and JSON value envelopes for every report node, including typed object and array markers. Preview limits do not truncate downloadable reports.",
  "content_format": "text/plain",
  "visibility": "public",
  "links": [
    {
      "name": "JSON path inventory",
      "url": "https://happytails.ai/en/data-tools/json-path-inventory/"
    },
    {
      "name": "JSON validator",
      "url": "https://happytails.ai/en/developer-tools/json-validator/"
    }
  ],
  "tool": {
    "id": "language-fallback-simulator",
    "category": "developer-tools",
    "built": true,
    "requirements": "Supply resources and explicit requests with locale, chain and keys. Keys are JSON Pointers. The first present value wins, including null and empty strings. There are no automatic parent-locale rules or network resource loads. At most 64 bundles, 100 requests, 16 fallback steps and 2,000 keys per request. Processing stays on your device. JSON supports up to 1,000,000 input characters, 50,000 values and 64 nesting levels. Duplicate keys and numbers that cannot survive JSON serialization exactly are rejected. Operations are limited to 100,000 comparisons, 4,000,000 JSON output characters and 8,000,000 CSV output characters. Tables show the first 200 rows; downloads preserve the complete report. CSV uses exact JSON Pointer paths and typed JSON value envelopes for spreadsheet-safe reporting.",
    "implementation": {
      "fields": [],
      "presentation": "metrics",
      "inputMaxLength": 1000000,
      "inputErrorCode": "DATA_DIAGNOSTIC_INPUT",
      "note": "Supply resources and explicit requests with locale, chain and keys. Keys are JSON Pointers. The first present value wins, including null and empty strings. There are no automatic parent-locale rules or network resource loads. At most 64 bundles, 100 requests, 16 fallback steps and 2,000 keys per request. Processing stays on your device. JSON supports up to 1,000,000 input characters, 50,000 values and 64 nesting levels. Duplicate keys and numbers that cannot survive JSON serialization exactly are rejected. Operations are limited to 100,000 comparisons, 4,000,000 JSON output characters and 8,000,000 CSV output characters. Tables show the first 200 rows; downloads preserve the complete report. CSV uses exact JSON Pointer paths and typed JSON value envelopes for spreadsheet-safe reporting.",
      "experience": {
        "automatic": false,
        "single": false,
        "inputMaxLength": 1000000,
        "inputMode": "text",
        "label": "JSON input",
        "placeholder": "{\n  \"resources\": {\n    \"pt-BR\": {\n      \"greeting\": \"Olá\"\n    },\n    \"pt\": {\n      \"farewell\": \"Adeus\"\n    },\n    \"en\": {\n      \"farewell\": \"Goodbye\"\n    }\n  },\n  \"requests\": [\n    {\n      \"locale\": \"pt-BR\",\n      \"chain\": [\n        \"pt-BR\",\n        \"pt\",\n        \"en\"\n      ],\n      \"keys\": [\n        \"/greeting\",\n        \"/farewell\",\n        \"/missing\"\n      ]\n    }\n  ]\n}",
        "help": "Supply resources and explicit requests with locale, chain and keys. Keys are JSON Pointers. The first present value wins, including null and empty strings. There are no automatic parent-locale rules or network resource loads. At most 64 bundles, 100 requests, 16 fallback steps and 2,000 keys per request. Up to 1,000,000 characters. Review the settings before running.",
        "action": null
      },
      "mode": "explicit",
      "interactive": false
    },
    "execution": "Browser interface",
    "api": null,
    "browser_agent": {
      "supported": true,
      "name": "run_current_tool",
      "discovery": "WebMCP on the human page in a supporting browser",
      "verification": "See audit/API-AUDIT.md; availability is not verification"
    }
  },
  "markdown": "# Language fallback simulator\n\n- Human page: https://happytails.ai/en/developer-tools/language-fallback-simulator/\n- Markdown: https://happytails.ai/en/developer-tools/language-fallback-simulator.md\n- Structured JSON: https://happytails.ai/agents/en/developer-tools/language-fallback-simulator/index.json\n- Visibility: public\n\n## Tool capabilities\n\n| Property | Value |\n| --- | --- |\n| Tool ID | `language-fallback-simulator` |\n| Category | developer-tools |\n| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |\n| Browser execution | Use the visible action or interactive controls. |\n| Browser processing | Browser; see tool notes for network behavior. |\n| HTTP API | Not callable through HTTP. |\n| Browser-agent interface | run_current_tool |\n\n### Implementation notes\n\nSupply resources and explicit requests with locale, chain and keys. Keys are JSON Pointers. The first present value wins, including null and empty strings. There are no automatic parent-locale rules or network resource loads. At most 64 bundles, 100 requests, 16 fallback steps and 2,000 keys per request. Processing stays on your device. JSON supports up to 1,000,000 input characters, 50,000 values and 64 nesting levels. Duplicate keys and numbers that cannot survive JSON serialization exactly are rejected. Operations are limited to 100,000 comparisons, 4,000,000 JSON output characters and 8,000,000 CSV output characters. Tables show the first 200 rows; downloads preserve the complete report. CSV uses exact JSON Pointer paths and typed JSON value envelopes for spreadsheet-safe reporting.\n\n### Inputs and settings\n\nText input: JSON input.\n\nExample or placeholder shown in the interface (not a validated fixture):\n\n```text\n{\n  \"resources\": {\n    \"pt-BR\": {\n      \"greeting\": \"Olá\"\n    },\n    \"pt\": {\n      \"farewell\": \"Adeus\"\n    },\n    \"en\": {\n      \"farewell\": \"Goodbye\"\n    }\n  },\n  \"requests\": [\n    {\n      \"locale\": \"pt-BR\",\n      \"chain\": [\n        \"pt-BR\",\n        \"pt\",\n        \"en\"\n      ],\n      \"keys\": [\n        \"/greeting\",\n        \"/farewell\",\n        \"/missing\"\n      ]\n    }\n  ]\n}\n```\n\nSupply resources and explicit requests with locale, chain and keys. Keys are JSON Pointers. The first present value wins, including null and empty strings. There are no automatic parent-locale rules or network resource loads. At most 64 bundles, 100 requests, 16 fallback steps and 2,000 keys per request. Up to 1,000,000 characters. Review the settings before running.\n\nNo additional settings are declared for this tool.\n\n### Browser-agent workflow\n\n1. Open the human page in a browser that supports WebMCP.\n2. Discover the interface exposed by that page; use its actual schema.\n3. Select files on the page first when the tool requires files.\n4. Call `run_current_tool` with valid input and settings.\n5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.\n\nCalls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.\n\n### Planning specification\n\nSupply resources and explicit requests with locale, chain and keys. Keys are JSON Pointers. The first present value wins, including null and empty strings. There are no automatic parent-locale rules or network resource loads. At most 64 bundles, 100 requests, 16 fallback steps and 2,000 keys per request. Processing stays on your device. JSON supports up to 1,000,000 input characters, 50,000 values and 64 nesting levels. Duplicate keys and numbers that cannot survive JSON serialization exactly are rejected. Operations are limited to 100,000 comparisons, 4,000,000 JSON output characters and 8,000,000 CSV output characters. Tables show the first 200 rows; downloads preserve the complete report. CSV uses exact JSON Pointer paths and typed JSON value envelopes for spreadsheet-safe reporting.\n\nThis describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.\n\n### Complete machine-readable capability record\n\n```json\n{\n  \"id\": \"language-fallback-simulator\",\n  \"category\": \"developer-tools\",\n  \"built\": true,\n  \"requirements\": \"Supply resources and explicit requests with locale, chain and keys. Keys are JSON Pointers. The first present value wins, including null and empty strings. There are no automatic parent-locale rules or network resource loads. At most 64 bundles, 100 requests, 16 fallback steps and 2,000 keys per request. Processing stays on your device. JSON supports up to 1,000,000 input characters, 50,000 values and 64 nesting levels. Duplicate keys and numbers that cannot survive JSON serialization exactly are rejected. Operations are limited to 100,000 comparisons, 4,000,000 JSON output characters and 8,000,000 CSV output characters. Tables show the first 200 rows; downloads preserve the complete report. CSV uses exact JSON Pointer paths and typed JSON value envelopes for spreadsheet-safe reporting.\",\n  \"implementation\": {\n    \"fields\": [],\n    \"presentation\": \"metrics\",\n    \"inputMaxLength\": 1000000,\n    \"inputErrorCode\": \"DATA_DIAGNOSTIC_INPUT\",\n    \"note\": \"Supply resources and explicit requests with locale, chain and keys. Keys are JSON Pointers. The first present value wins, including null and empty strings. There are no automatic parent-locale rules or network resource loads. At most 64 bundles, 100 requests, 16 fallback steps and 2,000 keys per request. Processing stays on your device. JSON supports up to 1,000,000 input characters, 50,000 values and 64 nesting levels. Duplicate keys and numbers that cannot survive JSON serialization exactly are rejected. Operations are limited to 100,000 comparisons, 4,000,000 JSON output characters and 8,000,000 CSV output characters. Tables show the first 200 rows; downloads preserve the complete report. CSV uses exact JSON Pointer paths and typed JSON value envelopes for spreadsheet-safe reporting.\",\n    \"experience\": {\n      \"automatic\": false,\n      \"single\": false,\n      \"inputMaxLength\": 1000000,\n      \"inputMode\": \"text\",\n      \"label\": \"JSON input\",\n      \"placeholder\": \"{\\n  \\\"resources\\\": {\\n    \\\"pt-BR\\\": {\\n      \\\"greeting\\\": \\\"Olá\\\"\\n    },\\n    \\\"pt\\\": {\\n      \\\"farewell\\\": \\\"Adeus\\\"\\n    },\\n    \\\"en\\\": {\\n      \\\"farewell\\\": \\\"Goodbye\\\"\\n    }\\n  },\\n  \\\"requests\\\": [\\n    {\\n      \\\"locale\\\": \\\"pt-BR\\\",\\n      \\\"chain\\\": [\\n        \\\"pt-BR\\\",\\n        \\\"pt\\\",\\n        \\\"en\\\"\\n      ],\\n      \\\"keys\\\": [\\n        \\\"/greeting\\\",\\n        \\\"/farewell\\\",\\n        \\\"/missing\\\"\\n      ]\\n    }\\n  ]\\n}\",\n      \"help\": \"Supply resources and explicit requests with locale, chain and keys. Keys are JSON Pointers. The first present value wins, including null and empty strings. There are no automatic parent-locale rules or network resource loads. At most 64 bundles, 100 requests, 16 fallback steps and 2,000 keys per request. Up to 1,000,000 characters. Review the settings before running.\",\n      \"action\": null\n    },\n    \"mode\": \"explicit\",\n    \"interactive\": false\n  },\n  \"execution\": \"Browser interface\",\n  \"api\": null,\n  \"browser_agent\": {\n    \"supported\": true,\n    \"name\": \"run_current_tool\",\n    \"discovery\": \"WebMCP on the human page in a supporting browser\",\n    \"verification\": \"See audit/API-AUDIT.md; availability is not verification\"\n  }\n}\n```\n\n## Page guide\n\nSee which locale resource wins for each key under explicit fallback rules, including missing resources and unresolved values.\n\nHow can we improve this tool?\n\nReport a problem or share an idea.\n\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\n\n### How to use Language fallback simulator\n\n1. Paste the documented input and choose the relevant settings.\n2. Run the local diagnostic and inspect its findings.\n3. Download the complete output and reports. Tables preview the first 200 rows.\n\n## Useful next steps\n\n- [JSON path inventory](https://happytails.ai/en/data-tools/json-path-inventory/) ([Markdown](https://happytails.ai/en/data-tools/json-path-inventory.md))\n\n- [JSON validator](https://happytails.ai/en/developer-tools/json-validator/) ([Markdown](https://happytails.ai/en/developer-tools/json-validator.md))\n\n## Control the fallback chain explicitly\n\nList the resources and their exact lookup order for each request. A present null or empty string wins. No regional parent chain, framework behavior or network resource is assumed.\n\n### Keep the complete report\n\nJSON records the full result, settings and assumptions. CSV contains exact JSON Pointer paths, value types and JSON value envelopes for every report node, including typed object and array markers. Preview limits do not truncate downloadable reports.\n"
}