[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H9YS8Y01HY3H4BPQ2FHTM5":3,"skill-same:01M6H9YS8Y01HY3H4BPQ2FHTM5":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":14,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M6H9YS8Y01HY3H4BPQ2FHTM5","Internationalization",null,"Designing and building software that can be adapted to various languages, regions, and cultures without engineering changes","NeuralBlitz\u002FMito","NeuralBlitz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F79354388?v=4","01M6H8T2TFH477HRS0KTSTKR2E","David Riggs","01M6H8T2YQQDXPYM092P670Z21",0,"MIT","https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Finterdisciplinary\u002Finternationalization\u002FSKILL.md",[],[19,20,21,22,23,24,25],"internationalization","product","engineering","software","can","managers","changes","2026-11-10 10:12:30",false,"---\nname: Internationalization\ndescription: Designing and building software that can be adapted to various languages, regions, and cultures without engineering changes\nlicense: MIT\ncompatibility: universal\naudience: developers, designers, product managers\ncategory: interdisciplinary\n---\n\n# Internationalization\n\n## What I Do\n\nI prepare applications for global audiences by designing systems that support multiple languages, date\u002Ftime formats, number formats, and cultural conventions. I separate locale-specific content from code to enable efficient localization.\n\n## When to Use Me\n\n- Preparing applications for international markets\n- Implementing multiple language support\n- Handling locale-specific formatting (dates, numbers, currencies)\n- Managing right-to-left (RTL) language layouts\n- Creating translation workflows and management systems\n- Adapting content for cultural preferences\n\n## Core Concepts\n\n1. **Locale Identification**: Language tags (en-US, zh-Hans, ar-EG)\n2. **Message Formatting**: ICU MessageFormat with plurals, gender, select\n3. **Date\u002FTime Formatting**: Locale-aware date and time display\n4. **Number Formatting**: Locale-specific decimal\u002Fthousand separators\n5. **Pluralization Rules**: Language-specific plural categories\n6. **Text Expansion**: Languages that require more space than English\n7. **RTL Support**: Right-to-left layout for Arabic, Hebrew, Persian\n8. **Cultural Adaptations**: Date formats, currencies, address formats\n9. **Translation Management**: Workflows for handling translations\n10. **Pseudo-localization**: Testing for i18n before actual translations\n\n## Code Examples\n\n### Internationalization Provider\n```javascript\nclass I18nProvider {\n  constructor(locale, translations) {\n    this.locale = locale;\n    this.translations = translations;\n    this.fallbackLocale = 'en';\n  }\n  \n  t(key, params = {}) {\n    const keys = key.split('.');\n    let message = this.translations[this.locale];\n    \n    for (const k of keys) {\n      message = message?.[k] || this.translations[this.fallbackLocale]?.[k];\n    }\n    \n    if (!message) return key;\n    \n    return this.interpolate(message, params);\n  }\n  \n  interpolate(message, params) {\n    return message.replace(\u002F\\{(\\w+)\\}\u002Fg, (_, key) => {\n      return params[key] !== undefined ? params[key] : `{${key}}`;\n    });\n  }\n  \n  formatDate(date, options = {}) {\n    const localeDate = new Date(date);\n    return new Intl.DateTimeFormat(this.locale, {\n      dateStyle: 'medium',\n      ...options\n    }).format(localeDate);\n  }\n  \n  formatNumber(number, options = {}) {\n    return new Intl.NumberFormat(this.locale, {\n      style: 'decimal',\n      minimumFractionDigits: 0,\n      maximumFractionDigits: 2,\n      ...options\n    }).format(number);\n  }\n  \n  formatCurrency(amount, currency = 'USD') {\n    return new Intl.NumberFormat(this.locale, {\n      style: 'currency',\n      currency\n    }).format(amount);\n  }\n}\n```\n\n### ICU Message Formatter\n```javascript\nclass MessageFormatter {\n  constructor(locale) {\n    this.locale = locale;\n    this.plurals = {\n      en: (n) => n === 1 ? 'one' : 'other',\n      zh: () => 'other',\n      ar: (n) => {\n        if (n === 0) return 'zero';\n        if (n === 1) return 'one';\n        if (n === 2) return 'two';\n        if (n % 100 >= 3 && n % 100 \u003C= 10) return 'few';\n        if (n % 100 >= 11) return 'many';\n        return 'other';\n      }\n    };\n  }\n  \n  format(message, params) {\n    return message.replace(\u002F\\{(\\w+)(,\\s*\\w+(?:,\\s*[^}]+)?)?\\}\u002Fg, (match, key, rest) => {\n      const value = params[key];\n      if (value === undefined) return match;\n      \n      const pluralFn = this.plurals[this.locale] || this.plurals.en;\n      \n      if (!rest) return value;\n      \n      const [, type, options] = rest.match(\u002F,(\\w+)(?:,\\s*([^}]+))?\u002F) || [];\n      \n      switch (type) {\n        case 'plural':\n          const category = pluralFn(value);\n          const optionMatch = options?.match(new RegExp(`${category}\\\\s*\\\\{([^}]+)\\\\}`));\n          return optionMatch ? optionMatch[1] : options.split(',').pop();\n        case 'select':\n          const selectMatch = options?.match(new RegExp(`${value}\\\\s*\\\\{([^}]+)\\\\}`));\n          return selectMatch ? selectMatch[1] : '';\n        default:\n          return value;\n      }\n    });\n  }\n}\n\n\u002F\u002F Usage\nconst formatter = new MessageFormatter('en');\nconst message = formatter.format(\n  '{count, plural, one {# item} other {# items}}',\n  { count: 5 }\n);\n```\n\n### RTL Layout Manager\n```javascript\nclass RTLManager {\n  constructor() {\n    this.supportedRTL = ['ar', 'he', 'fa', 'ur'];\n    this.currentDir = 'ltr';\n  }\n  \n  detectLocale(locale) {\n    const baseLocale = locale.split('-')[0];\n    return this.supportedRTL.includes(baseLocale) ? 'rtl' : 'ltr';\n  }\n  \n  applyDirection(locale) {\n    const dir = this.detectLocale(locale);\n    this.currentDir = dir;\n    document.documentElement.dir = dir;\n    document.documentElement.lang = locale;\n  }\n  \n  flipStyles(styles) {\n    if (this.currentDir !== 'rtl') return styles;\n    \n    const flipMap = {\n      'margin-left': 'margin-right',\n      'margin-right': 'margin-left',\n      'padding-left': 'padding-right',\n      'padding-right': 'padding-left',\n      'border-left': 'border-right',\n      'border-right': 'border-left',\n      'left': 'right',\n      'right': 'left',\n      'text-align-left': 'text-align-right',\n      'text-align-right': 'text-align-left'\n    };\n    \n    const flipped = { ...styles };\n    Object.entries(styles).forEach(([key, value]) => {\n      if (flipMap[key]) {\n        flipped[flipMap[key]] = value;\n        delete flipped[key];\n      }\n    });\n    return flipped;\n  }\n  \n  getStartEnd() {\n    return this.currentDir === 'rtl' \n      ? { start: 'right', end: 'left' }\n      : { start: 'left', end: 'right' };\n  }\n}\n```\n\n## Best Practices\n\n1. Externalize all user-facing strings from the beginning\n2. Use locale-aware formatting libraries (Intl API, i18next, react-intl)\n3. Design for text expansion (languages can be 300% longer)\n4. Test with pseudo-localization before real translations\n5. Support RTL languages from the start, not as an afterthought\n6. Store translations in structured files (JSON, YAML, XLIFF)\n7. Use ICU MessageFormat for complex pluralization and gender\n8. Consider date, time, number, and currency formatting per locale\n9. Maintain separate translation memories for consistency\n10. Involve native speakers in translation review\n","# Internationalization\n\n## What I Do\n\nI prepare applications for global audiences by designing systems that support multiple languages, date\u002Ftime formats, number formats, and cultural conventions. I separate locale-specific content from code to enable efficient localization.\n\n## When to Use Me\n\n- Preparing applications for international markets\n- Implementing multiple language support\n- Handling locale-specific formatting (dates, numbers, currencies)\n- Managing right-to-left (RTL) language layouts\n- Creating translation workflows and management systems\n- Adapting content for cultural preferences\n\n## Core Concepts\n\n1. **Locale Identification**: Language tags (en-US, zh-Hans, ar-EG)\n2. **Message Formatting**: ICU MessageFormat with plurals, gender, select\n3. **Date\u002FTime Formatting**: Locale-aware date and time display\n4. **Number Formatting**: Locale-specific decimal\u002Fthousand separators\n5. **Pluralization Rules**: Language-specific plural categories\n6. **Text Expansion**: Languages that require more space than English\n7. **RTL Support**: Right-to-left layout for Arabic, Hebrew, Persian\n8. **Cultural Adaptations**: Date formats, currencies, address formats\n9. **Translation Management**: Workflows for handling translations\n10. **Pseudo-localization**: Testing for i18n before actual translations\n\n## Code Examples\n\n### Internationalization Provider\n```javascript\nclass I18nProvider {\n  constructor(locale, translations) {\n    this.locale = locale;\n    this.translations = translations;\n    this.fallbackLocale = 'en';\n  }\n  \n  t(key, params = {}) {\n    const keys = key.split('.');\n    let message = this.translations[this.locale];\n    \n    for (const k of keys) {\n      message = message?.[k] || this.translations[this.fallbackLocale]?.[k];\n    }\n    \n    if (!message) return key;\n    \n    return this.interpolate(message, params);\n  }\n  \n  interpolate(message, params) {\n    return message.replace(\u002F\\{(\\w+)\\}\u002Fg, (_, key) => {\n      return params[key] !== undefined ? params[key] : `{${key}}`;\n    });\n  }\n  \n  formatDate(date, options = {}) {\n    const localeDate = new Date(date);\n    return new Intl.DateTimeFormat(this.locale, {\n      dateStyle: 'medium',\n      ...options\n    }).format(localeDate);\n  }\n  \n  formatNumber(number, options = {}) {\n    return new Intl.NumberFormat(this.locale, {\n      style: 'decimal',\n      minimumFractionDigits: 0,\n      maximumFractionDigits: 2,\n      ...options\n    }).format(number);\n  }\n  \n  formatCurrency(amount, currency = 'USD') {\n    return new Intl.NumberFormat(this.locale, {\n      style: 'currency',\n      currency\n    }).format(amount);\n  }\n}\n```\n\n### ICU Message Formatter\n```javascript\nclass MessageFormatter {\n  constructor(locale) {\n    this.locale = locale;\n    this.plurals = {\n      en: (n) => n === 1 ? 'one' : 'other',\n      zh: () => 'other',\n      ar: (n) => {\n        if (n === 0) return 'zero';\n        if (n === 1) return 'one';\n        if (n === 2) return 'two';\n        if (n % 100 >= 3 && n % 100 \u003C= 10) return 'few';\n        if (n % 100 >= 11) return 'many';\n        return 'other';\n      }\n    };\n  }\n  \n  format(message, params) {\n    return message.replace(\u002F\\{(\\w+)(,\\s*\\w+(?:,\\s*[^}]+)?)?\\}\u002Fg, (match, key, rest) => {\n      const value = params[key];\n      if (value === undefined) return match;\n      \n      const pluralFn = this.plurals[this.locale] || this.plurals.en;\n      \n      if (!rest) return value;\n      \n      const [, type, options] = rest.match(\u002F,(\\w+)(?:,\\s*([^}]+))?\u002F) || [];\n      \n      switch (type) {\n        case 'plural':\n          const category = pluralFn(value);\n          const optionMatch = options?.match(new RegExp(`${category}\\\\s*\\\\{([^}]+)\\\\}`));\n          return optionMatch ? optionMatch[1] : options.split(',').pop();\n        case 'select':\n          const selectMatch = options?.match(new RegExp(`${value}\\\\s*\\\\{([^}]+)\\\\}`));\n          return selectMatch ? selectMatch[1] : '';\n        default:\n          return value;\n      }\n    });\n  }\n}\n\n\u002F\u002F Usage\nconst formatter = new MessageFormatter('en');\nconst message = formatter.format(\n  '{count, plural, one {# item} other {# items}}',\n  { count: 5 }\n);\n```\n\n### RTL Layout Manager\n```javascript\nclass RTLManager {\n  constructor() {\n    this.supportedRTL = ['ar', 'he', 'fa', 'ur'];\n    this.currentDir = 'ltr';\n  }\n  \n  detectLocale(locale) {\n    const baseLocale = locale.split('-')[0];\n    return this.supportedRTL.includes(baseLocale) ? 'rtl' : 'ltr';\n  }\n  \n  applyDirection(locale) {\n    const dir = this.detectLocale(locale);\n    this.currentDir = dir;\n    document.documentElement.dir = dir;\n    document.documentElement.lang = locale;\n  }\n  \n  flipStyles(styles) {\n    if (this.currentDir !== 'rtl') return styles;\n    \n    const flipMap = {\n      'margin-left': 'margin-right',\n      'margin-right': 'margin-left',\n      'padding-left': 'padding-right',\n      'padding-right': 'padding-left',\n      'border-left': 'border-right',\n      'border-right': 'border-left',\n      'left': 'right',\n      'right': 'left',\n      'text-align-left': 'text-align-right',\n      'text-align-right': 'text-align-left'\n    };\n    \n    const flipped = { ...styles };\n    Object.entries(styles).forEach(([key, value]) => {\n      if (flipMap[key]) {\n        flipped[flipMap[key]] = value;\n        delete flipped[key];\n      }\n    });\n    return flipped;\n  }\n  \n  getStartEnd() {\n    return this.currentDir === 'rtl' \n      ? { start: 'right', end: 'left' }\n      : { start: 'left', end: 'right' };\n  }\n}\n```\n\n## Best Practices\n\n1. Externalize all user-facing strings from the beginning\n2. Use locale-aware formatting libraries (Intl API, i18next, react-intl)\n3. Design for text expansion (languages can be 300% longer)\n4. Test with pseudo-localization before real translations\n5. Support RTL languages from the start, not as an afterthought\n6. Store translations in structured files (JSON, YAML, XLIFF)\n7. Use ICU MessageFormat for complex pluralization and gender\n8. Consider date, time, number, and currency formatting per locale\n9. Maintain separate translation memories for consistency\n10. Involve native speakers in translation review\n",{"name":5,"license":15,"audience":31,"category":32,"description":7,"compatibility":33},"developers, designers, product managers","interdisciplinary","universal","main","2ea764e153842704d24a2e9aa4170441a7f03081",".opencode\u002Fskills\u002Finterdisciplinary\u002Finternationalization","https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito","https:\u002F\u002Fgithub.com\u002FNeuralBlitz","nuralnexus.org","Independent Multidisciplinary Researcher, Creative Producer, and AI Systems Architect\r\nAn independent creator and research-driven systems designer.","2026-11-12 03:13:05",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add NeuralBlitz\u002FMito --skill Internationalization",{"tool":48,"command":49},"bunx","bunx skills add NeuralBlitz\u002FMito --skill Internationalization",{"tool":51,"command":52},"pnpm","pnpm dlx skills add NeuralBlitz\u002FMito --skill Internationalization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Finterdisciplinary\u002Finternationalization\u002FSKILL.md",true,[],[57,73,86,99,107,122],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":26},"01M6HAZSAQK1S27CEZYAYJTQDX","wireless-communications","Wireless systems, mobile networks, and 5G\u002F6G","https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fwireless-communications\u002FSKILL.md",[],[64,65,66,67,21,68,69,70,71,72],"communications","wireless communications","wireless","systems","networks","5G","students","opencode","mobile",{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":26},"01M6HAZFX6E8NK3WZWDX5YCKYY","websockets","WebSocket implementation and best practices","https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fwebassembly\u002Fwebsockets\u002FSKILL.md",[],[75,80,81,82,71,83,84,85],"websocket implementation","time","implementation","real-time","websocket","best practices",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":26},"01M6HAZ6DAXBQ7QHXXM1EM7715","vulnerability-auditing","Vulnerability assessment and auditing","https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fvulnerability-auditing\u002FSKILL.md",[],[93,94,95,96,71,97,98],"vulnerability","vulnerability auditing","security","vulnerability assessment","cybersecurity","assessment",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":26},"01M6HAZ3FKF3CS9Z3J96RVE2ZE","vulnerability-assessment","Finding and assessing security vulnerabilities","https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fvue\u002Fvulnerability-assessment\u002FSKILL.md",[],[96,93,98,95,106,71],"vulnerabilities",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":26},"01M6HAYSHM6HKRKEHFP0SGZQX7","vlsi-design","Very-Large-Scale Integration circuit design and semiconductor engineering","https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fvlsi-design\u002FSKILL.md",[],[114,115,116,117,118,21,119,71,120,70,121],"vlsi design","VLSI","design","hardware","integration","computer","scale","circuit",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":26},"01M6HAYPQ30FFE2JXD7WQJ8R6C","unsupervised","Unsupervised learning concepts","https:\u002F\u002Fgithub.com\u002FNeuralBlitz\u002FMito\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fvisualization\u002Funsupervised\u002FSKILL.md",[],[124,129,71,130,131,132,133,134],"learning","intelligence","unsupervised learning","machine","concepts","machine-learning"]