eyeseast / find-unused

Find unused translation strings in a codebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

find-unused

Find unused translation strings in a big codebase. Given a JSON translation file and a source directory.

Install

# download and install from source
git clone https://github.com/eyeseast/find-unused && cd find-unused
go install .

Usage

find-unused lang.json ./src

This will print keys that look like they're unused. Be sure to check (and use version control) before deleting anything.

About

Find unused translation strings in a codebase


Languages

Language:Go 100.0%