Installation Issues
Node.js Version Compatibility
Error:- Check current version:
node --version
- Update Node.js: Download latest from nodejs.org
- Or use nvm:
Permission Errors
Error:- Run Command Prompt as Administrator
- Install the CLI:
npm install -g @gleef/cli
Network/Firewall Issues
Error:- Check internet connection
- Configure corporate proxy:
- Use different registry:
Authentication Issues
Invalid API Key
Error:- Verify key format: API keys start with
gl_
followed by alphanumeric characters - Check for extra characters: Remove any spaces or newlines from the key
- Generate new key: Visit https://app.gleef.eu/settings/api-keys
- Re-authenticate:
Authentication Storage Issues
Error:Network Authentication Issues
Error:- Check DNS:
nslookup api.gleef.eu
- Try different DNS:
- Corporate firewall: Contact IT to whitelist
*.gleef.eu
- VPN issues: Try without VPN or with different VPN server
Configuration Issues
No Files Detected During Init
Error:-
Check file extensions:
-
Check .gitignore exclusions:
-
Manual configuration:
Invalid Configuration File
Error:- Validate JSON syntax:
- Common JSON errors:
- Missing quotes around keys
- Trailing commas
- Unclosed brackets/braces
- Reset configuration:
Pattern Matching Issues
Error:- Fix pattern syntax:
- Test patterns:
Command Execution Issues
”Nothing to translate” When Expecting Changes
Issue: Runninggleef translate
shows no changes despite having new keys.
Solutions:
-
Check if files have actual changes:
-
Verify configuration patterns or run:
-
Check for conflicts:
-
Reset and retry:
Pull Command Not Updating Files
Issue:gleef pull
claims to update files but no changes appear locally.
Solutions:
-
Check file permissions:
-
Verify files match patterns:
- Check if translations are approved in Gleef Studio
-
Force full sync:
-
Remove
.gleef/lock.json
Conflict Resolution Issues
Error:-
Accept remote changes:
-
Keep local changes:
- Update the conflicting key in Gleef Studio to match your local version
- Run
gleef translate
again
-
Manual resolution:
- Decide on the correct value
- Update both locally and in Gleef Studio
- Run
gleef translate
File Format Issues
JSON Syntax Errors
Error:-
Find the problematic file:
-
Common JSON issues:
- Trailing commas:
{"key": "value",}
→{"key": "value"}
- Unescaped quotes:
"He said "hello""
→"He said \"hello\""
- Missing commas:
{"a": "b" "c": "d"}
→{"a": "b", "c": "d"}
- Trailing commas:
-
Fix with automated tools:
XML Format Issues
Error:-
Validate XML:
-
Common XML issues:
- Unclosed tags:
<string name="key">value
→<string name="key">value</string>
- Invalid characters:
&
→&
,<
→<
,>
→>
- Missing declarations: Add
<?xml version="1.0" encoding="UTF-8"?>
- Unclosed tags:
YAML Format Issues
Error:-
Validate YAML:
-
Common YAML issues:
- Indentation: Use consistent spaces (not tabs)
- Missing quotes:
key: value with: colon
→key: "value with: colon"
- List formatting: Ensure proper
-
spacing
Performance Issues
Slow Translation Processing
Issue:gleef translate
takes very long to complete.
Solutions:
-
Use pattern matching:
-
Check file sizes:
-
Optimize patterns:
High Memory Usage
Issue: CLI uses excessive memory during processing. Solutions:-
Process files in batches:
- Reduce file sizes: Split large translation files into smaller ones
- Close other applications: Free up system memory
Recovery Procedures
Complete Reset
If you encounter persistent issues, try a complete reset:Configuration Recovery
If your configuration is corrupted:File Recovery
If translation files are corrupted:Getting Help
Diagnostic Information
When reporting issues, include this diagnostic info:Log Files
Enable verbose logging for debugging:Contact Gleef to enable verbose/debug mode.
Support Channels
- Documentation: docs.gleef.eu
- Email: support@gleef.eu
- Chat: 15 minutes