.LANG File Extension
File Type 1Minecraft Language File
What is a LANG file?
A LANG file is a game resource file used by Minecraft, an open-ended game that allows players to create and explore 3D worlds. It saves a list of key-value string pairs that map game menus, achievements, and other game objects to names in a given language. LANG files are used for localization.
Minecraft LANG files are located within the minecraft.jar archive, which is located in the following directory:
LANG files are stored in a plain text format, so you can edit them with a text editor. However, doing so can potentially cause Minecraft not to run properly, so you should backup minecraft.jar before proceeding. To edit LANG files, follow these steps:
- Explore minecraft.jar with 7-Zip or another tool that can explore JAR files.
- Navigate to the \lang\ folder.
- Extract en_US.lang and save it to a location on your computer.
- Edit the LANG file with a text editor such as Notepad.
- Place the edited LANG file back in the minecraft.jaf archive, overwriting the previous one.
- Delete the \META-INF\ folder within the root directory of minecraft.jar.
- Restart Minecraft.
File Type 2Skype Language File
.LANG File Association 2
Language file used by Skype, a popular online communication program; contains language information that changes the language of the Skype user interface.
LANG files can be loaded within Skype by selecting the "Tools→Change Language" option. They can also be edited by selecting "Tools→Change Language→Edit Skype Language File."
File Type 3GtkSourceView Language Definition File
.LANG File Association 3
A LANG file is a configuration file saved in the Language Definition XML format. It is used to add syntax highlighting support for a specific language in the GtkTextView widget included with the GTK toolkit, which is a set of widgets used to create graphical user interfaces (GUIs). LANG files contain information in XML format that typically includes definitions, styles, and metadata.
GTK is an open source, cross-platform tool used to create GUIs for programs. It consists of various widgets that are used to design the GUI. One of the widgets is GtkTextView, which is used for displaying and editing multiline text in the GUI. The capabilities of the GtkTextView widget can be extended by the GtkSourceView library. Some features that can be extended by the library include file loading and saving, search and replace, and syntax highlighting features.
Support for syntax highlighting can be added for specific languages using LANG files in the GtkSourceView library. Some languages that can be added include C, C++, Java, Fortran, Logtalk, and Axe Parser programming languages, XML, HTML, and LaTex markup languages, and PHP, Python, and Perl scripting languages.
You will most likely only encounter a LANG file if you are a GTK developer since they are not used by other programs. If you would like to view or edit a LANG file, you can use a plain text or XML editor, such as Microsoft Notepad, Apple TextEdit, or Microsoft Visual Studio Code.
NOTE: GTK was formerly known as GIMP Toolkit and GTK+.