i18nspector command not found

In this troubleshooting guide we learn how to fix i18nspector command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

i18nspector: command not found

or when using sudo you get the following error message

sudo: i18nspector: command not found

Solutions to i18nspector: command not found

How To Fix i18nspector: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu i18nspector is provided by i18nspector package.

i18nspector is:

i18nspector is a tool for checking translation templates (POT), message catalogues (PO) and compiled message catalogues (MO) files for common problems. These files are used by the GNU gettext translation functions and tools in many different development environments.

Checks include: incorrect or inconsistent character encoding, missing headers, incorrect language codes and improper plural forms.

This tool was formerly known as gettext-inspector.

To fix this problem, we can install more using the command below.

sudo apt-get -y install i18nspector

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install i18nspector.

sudo apt -y install i18nspector

Or if you have aptitude installed you can use the following command.

sudo aptitude install i18nspector

Summary

In this tutorial we learn how to fix i18nspector command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.