-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathslang-roblox.yaml
More file actions
52 lines (44 loc) · 1.62 KB
/
slang-roblox.yaml
File metadata and controls
52 lines (44 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Roblox Slang Configuration
# Documentation: https://github.com/mathtechstudio/roblox-slang
# Base locale (fallback when translation is missing)
base_locale: en
# Supported locales for your game
supported_locales:
- en
# Directory containing translation files (JSON/YAML)
input_directory: translations
# Directory for generated Luau code
output_directory: output
# Optional: Namespace for generated module (null = no namespace)
namespace: null
# Optional: Translation overrides
# overrides:
# enabled: true
# file: overrides.yaml
# Optional: Analytics for tracking missing translations
# analytics:
# enabled: true
# track_missing: true
# track_usage: true
# Optional: Roblox Cloud integration for syncing translations
# Enables upload, download, and bidirectional sync with Roblox Cloud Localization Tables
# cloud:
# # Localization table ID (UUID format)
# # Get from: Creator Dashboard > Localization > Table Settings
# table_id: "your-table-id-here"
#
# # Game/Universe ID (numeric)
# # Get from: Creator Dashboard > Game Settings > Basic Info
# game_id: "your-game-id-here"
#
# # API Key (RECOMMENDED: Use environment variable instead)
# # Set via: export ROBLOX_CLOUD_API_KEY=your_key_here
# # Get from: https://create.roblox.com/dashboard/credentials
# # api_key: "your-api-key-here"
#
# # Default merge strategy for sync command
# # Options:
# # - merge: Upload local-only, download cloud-only, prefer cloud for conflicts (recommended)
# # - overwrite: Replace all cloud translations with local (destructive)
# # - skip-conflicts: Only sync non-conflicting entries
# strategy: merge