Skip to content

FrilLab/frilingo

Repository files navigation

Frilingo

Translate code, errors, and documentation directly inside VSCode.

🚧 Early development stage

Frilingo helps developers understand code, error messages, comments, documentation, and technical content in their preferred language using local LLMs through Ollama.

Features

Translate Selected Text

Translate the current editor selection using a local Ollama model.

Translate Comments and Annotations

Quickly translate documentation, comments, and annotations without leaving the editor.

Local AI Models

Use local models through Ollama.

Examples:

  • gemma3:4b
  • qwen3:4b
  • llama3.1

Ollama Integration

Manage local models directly from VS Code.

  • Start Ollama
  • List installed models
  • Pull recommended models
  • Check runtime status

Requirements

Install Ollama

Download and install Ollama:

https://ollama.com/download

Pull a Model

Example:

ollama pull gemma3:4b

Development

Install dependencies:

npm install

Run type checking:

npm run check-types

Run lint:

npm run lint

Run smoke test:

npm run test:ollama

Roadmap

  • Ollama integration
  • Selection translation
  • Model management
  • Hover translation
  • Inline replacement
  • Multiple language support
  • Translation caching
  • User settings

Known Issues

Some reasoning-oriented models may generate explanations instead of direct translations.

For translation-focused workflows, models such as gemma3 are recommended.

License

MIT

About

AI Language Assistant for Developers

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors