View in English

  • Apple Developer
    • 今すぐ始める

    「今すぐ始める」を詳しく見る

    • 概要
    • 学ぶ
    • Apple Developer Program

    最新情報

    • 最新ニュース
    • Hello Developer
    • プラットフォーム

    プラットフォームを詳しく見る

    • Appleプラットフォーム
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store

    特集

    • デザイン
    • 配信
    • ゲーム
    • アクセサリ
    • Web
    • Home
    • CarPlay
    • テクノロジー

    テクノロジーを詳しく見る

    • 概要
    • Xcode
    • Swift
    • SwiftUI

    特集

    • アクセシビリティ
    • App Intent
    • Apple Intelligence
    • ゲーム
    • 機械学習とAI
    • セキュリティ
    • Xcode Cloud
    • コミュニティ

    コミュニティを詳しく見る

    • 概要
    • 「Appleに相談」イベント
    • コミュニティによるイベント
    • デベロッパフォーラム
    • オープンソース

    特集

    • WWDC
    • Swift Student Challenge
    • デベロッパストーリー
    • App Store Awards
    • Apple Design Awards
    • Apple Developer Center
    • ドキュメント

    ドキュメントを詳しく見る

    • ドキュメントライブラリ
    • テクノロジー概要
    • サンプルコード
    • ヒューマンインターフェイスガイドライン
    • ビデオ

    リリースノート

    • 注目のアップデート
    • iOS
    • iPadOS
    • macOS
    • watchOS
    • visionOS
    • tvOS
    • Xcode
    • ダウンロード

    ダウンロードを詳しく見る

    • すべてのダウンロード
    • オペレーティングシステム
    • アプリ
    • デザインリソース

    特集

    • Xcode
    • TestFlight
    • フォント
    • SF Symbols
    • Icon Composer
    • サポート

    サポートを詳しく見る

    • 概要
    • ヘルプガイド
    • デベロッパフォーラム
    • フィードバックアシスタント
    • お問い合わせ

    特集

    • アカウントヘルプ
    • App Reviewガイドライン
    • App Store Connectヘルプ
    • 近日導入予定の要件
    • 契約およびガイドライン
    • システムステータス
  • クイックリンク

    • イベント
    • ニュース
    • Forum
    • サンプルコード
    • ビデオ
 

ビデオ

メニューを開く メニューを閉じる
  • コレクション
  • トピック
  • すべてのビデオ
  • 利用方法

WWDC23に戻る

  • 概要
  • コード
  • 文法的一致の活用法

    アプリやゲームで対象言語の文法の自動一致を利用して、インクルーシブでより自然な表現を作成する方法を紹介します。Foundationで作業するためのベストプラクティスや、複数の言語での事例を紹介し、アプリのユーザー体験を向上させるこれらのAPIの使用方法を実演します。文法の自動一致の概要については、WWDC21の「What's new in Foundation」をご覧ください。

    関連する章

    • 0:00 - Introduction
    • 1:28 - Grammatical agreement
    • 3:12 - Dependency agreement
    • 8:07 - Inclusive language
    • 11:05 - Demo
    • 17:31 - Wrap-up

    リソース

    • NSMorphology
    • NSInflectionRule
    • Expanding Your App to New Markets
      • HDビデオ
      • SDビデオ

    関連ビデオ

    WWDC23

    • String Catalogsの紹介

    WWDC22

    • グローバルAppをビルドする:事例を挙げてローカライズ化

    WWDC21

    • Foundationの新機能
  • このビデオを検索
    • 4:08 - agreeWithConcept

      // Formatting the string
      
      var options = AttributedString.LocalizationOptions()
      options.concepts = [.localizedPhrase(food.localizedName)]
      
      let size = AttributedString(localized: "small", options: options)
    • 8:45 - Preferred terms of address

      // A person who is delivering the food order
      
      struct DeliveryPerson {
      
          // The person's preferred name
          var name: String
      
          // An avatar for the delivery person
          var avatar: Image
      
          // The person's preferred terms of address. This list may contain more than
          // one option, we will use the first applicable one for the language that's
          // used in the UI.
          var preferredTermsOfAddress: [TermOfAddress]
      }
      
      // Formatting the message in Swift
      
      var options = AttributedString.LocalizationOptions()
      options.concepts = [.termsOfAddress(person.preferredTermsOfAddress)]
      
      let message = AttributedString(localized: 
"\(person.name) is on ^[their](referentConcept: 1) way.”, options: options)

Developer Footer

  • ビデオ
  • WWDC23
  • 文法的一致の活用法
  • メニューを開く メニューを閉じる
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    Open Menu Close Menu
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • SF Symbols
    メニューを開く メニューを閉じる
    • アクセシビリティ
    • アクセサリ
    • Apple Intelligence
    • App Extension
    • App Store
    • オーディオとビデオ(英語)
    • 拡張現実
    • デザイン
    • 配信
    • 教育
    • フォント(英語)
    • ゲーム
    • ヘルスケアとフィットネス
    • アプリ内課金
    • ローカリゼーション
    • マップと位置情報
    • 機械学習とAI
    • オープンソース(英語)
    • セキュリティ
    • SafariとWeb(英語)
    メニューを開く メニューを閉じる
    • 英語ドキュメント(完全版)
    • 日本語ドキュメント(一部トピック)
    • チュートリアル
    • ダウンロード
    • フォーラム(英語)
    • ビデオ
    Open Menu Close Menu
    • サポートドキュメント
    • お問い合わせ
    • バグ報告
    • システム状況(英語)
    メニューを開く メニューを閉じる
    • Apple Developer
    • App Store Connect
    • Certificates, IDs, & Profiles(英語)
    • フィードバックアシスタント
    メニューを開く メニューを閉じる
    • Apple Developer Program
    • Apple Developer Enterprise Program
    • App Store Small Business Program
    • MFi Program(英語)
    • Mini Apps Partner Program
    • News Partner Program(英語)
    • Video Partner Program(英語)
    • セキュリティ報奨金プログラム(英語)
    • Security Research Device Program(英語)
    Open Menu Close Menu
    • Appleに相談
    • Apple Developer Center
    • App Store Awards(英語)
    • Apple Design Awards
    • Apple Developer Academy(英語)
    • WWDC
    最新ニュースを読む Apple Developerアプリを入手する
    Copyright © 2026 Apple Inc. All rights reserved.
    利用規約 プライバシーポリシー 契約とガイドライン