搜尋套件、儲存庫與 APP 分類

套件詳情v0.0.8

auto_store_translate

一個自動化應用商店/Play 商店元資料(標題、描述等)翻譯與註冊的程式庫。

AndroidiOSmacOSWindowsLinux
近 30 天下載
66
喜歡數
12
Pub 分數
120

安裝套件

flutter pub add auto_store_translate

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Auto Store Translate 是一個 Flutter/Dart 套件,可自動化 Apple App Store 與 Google Play Store 應用程式元資料(例如標題、描述與關鍵字)的翻譯與註冊。它透過整合翻譯服務並管理多語言的元資料更新,簡化了本地化工作流程。專為希望有效率地將應用程式發布至全球市場的開發者設計,可減少手動操作並降低多語系應用程式清單中的錯誤。此套件支援 Android、iOS、macOS、Windows 與 Linux 平台。

適用情境

  • 自動化應用商店元數據本地化
  • 簡化國際應用發佈
  • 減少手動翻譯工作
  • 更新多語言的元數據
  • 與 CI/CD 流水線整合

主要特色

  • 自動元數據翻譯
  • 對 App Store 和 Play Store 的支援
  • 多平台相容性
  • 與翻譯API的整合
  • CI/CD 就緒的工作流程

適合對象

  • 全球應用發行商
  • 開發團隊管理多語言應用程式
  • CI/CD自動化愛好者
  • 本地化專家

使用建議

  • 需要翻譯服務的 API 條碼
  • 取決於外部翻譯提供者品質
  • 可能需要對翻譯內容進行手動審核
  • 僅限元數據,不包括應用UI或內容
  • 平台特定的元數據約束

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Auto Store Translate

Pub

A library that automates translation/registration of metadata (title, description, etc.) in the App Store/Play Store.

playstore & appstore translated screenshot

"Buy Me A Coffee"

How to Use?

1. Setup the config file
dependencies:
  auto_store_translate:
2. Create a dart file in your project and paste the code below.

create dart file in your project
project path > auto_translation > store_meta_info.dart

please fill in all the information below.

import 'package:auto_store_translate/auto_store_translate.dart';

/// write your store info here.

MyStoreInfo myStoreInfo = MyStoreInfo(
  // Play Store Title 30 characters or less
  playStoreTitle: "",

  // Play Store Short Description 80 characters or less
  playStoreShortDescription: "",

  // Play Store Long Description 4000 characters or less
  playStoreFullDescription: '''
  

  ''',

  // Play Store Translation Start Language
  playStoreStartLanguage: "en",

  // Play Store Title Translation
  translatePlayStoreName: true,

  // App Store Title 30 characters or less
  appStoreTitle: "",

  // App Store Subtitle 30 characters or less
  appStoreSubTitle: "",

  // App Store Description 4000 characters or less
  appStringDescription: '''
  

  ''',

  // App Store Keywords 100 characters or less , separated by commas, SEO
  appStoreKeywords: "",

  // App Store Translation Start Language
  appStoreStartLanguage: "en",

  // App Store Title Translation
  translateAppStoreName: true,

  // Whether to display the first letter of the App Store title in uppercase
  onlyFirstCharacterUpperAppName: true,

  // App Store Update Notes
  releaseNote: "fix small bug :)",

  // Home Page URL
  homepageLink: "",

  // Privacy Policy URL
  policyPageLink: "",
);

main() {
  AutoStoreTranslate.translateStoreInfo(
      myStoreInfo: myStoreInfo,

      // google translate api key
      googleTranslateApiKey: "INPUT_YOUR_GOOGLE_TRANSLATE_API_KEY",

      // true: translate only title, false: translate title + all
      onlyAppNameTranslate: false);
}

It works even if you don't put the Google Translate api key, but you will soon reach the free limit.
For a guide to getting the Google Translate api key, please refer to this document.

3. Run the code above and wait for the translation to complete.

4. you will see the translated folder in the project.

5. Set up fastlane for each android/ios and register the information in the play store/app store.

registering with the PlayStore(android)

1. Setup the fastlane config file(android)

please refer to the official document.

2. Add the code below under platform:android do in the android/fastlane/fastfile file.
    lane :metaOnly do
      upload_to_play_store(
          track: 'internal',
          metadata_path: '../auto_translation/metadata/android',
          skip_upload_screenshots: true,
          skip_upload_changelogs: true,
          release_status: 'draft',
          aab: '../build/app/outputs/bundle/release/app-release.aab',
      )
    end
3. Open the terminal in the android project location and enter the following.
    fastlane metaOnly
4. You will see the translated information in the play store console.

registering with the App Store(iOS)

1. Setup the fastlane config file(ios)

please refer to the official document.

2. Add the code below under platform:ios do in the ios/fastlane/fastfile file.
    lane :metaOnly do
        get_certificates          
        get_provisioning_profile  
        deliver(
            metadata_path: '../auto_translation/metadata/ios',
            force: true, # Skip HTMl report verification
            skip_screenshots: true,
            skip_binary_upload: true,
        )
    end
3. Open the terminal in the ios project location and enter the following.
    fastlane metaOnly
4. You will see the translated information in the app store connect.

所屬分類

依賴

依賴清單 6 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。