Skip to content

Commit 25020cd

Browse files
committed
Update Scenario 4 to use add-language command instead of manual cp
Replace manual file copying with proper add-language command that uses -c flag for --culture option
1 parent fde91a4 commit 25020cd

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

EXAMPLES.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -722,12 +722,16 @@ lrm delete UnusedKey2 -y
722722
You want to add French (fr) translations.
723723

724724
```bash
725-
# Step 1: Create the new .resx file (copy from default)
726-
cp SharedResource.resx SharedResource.fr.resx
725+
# Step 1: Add new language file (copies from default)
726+
lrm add-language -c fr
727+
728+
# Alternative: Create empty language file
729+
lrm add-language -c fr --empty
727730

728731
# Step 2: Verify LRM detects it
732+
lrm list-languages
729733
lrm stats
730-
# Should show French (fr) with 100% coverage (copied values)
734+
# Should show French (fr) with 100% coverage (if copied) or 0% (if empty)
731735

732736
# Step 3: Export for translator
733737
lrm export --include-status -o french_translation.csv

0 commit comments

Comments
 (0)