PHPackages                             boboldehampsink/translate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. boboldehampsink/translate

AbandonedArchivedCraft-plugin[Localization &amp; i18n](/categories/localization)

boboldehampsink/translate
=========================

Translate Plugin for Craft CMS

0.4.2(9y ago)4421.0k5[6 issues](https://github.com/boboldehampsink/translate/issues)[1 PRs](https://github.com/boboldehampsink/translate/pulls)PHP

Since Dec 1Pushed 8y ago3 watchersCompare

[ Source](https://github.com/boboldehampsink/translate)[ Packagist](https://packagist.org/packages/boboldehampsink/translate)[ RSS](/packages/boboldehampsink-translate/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (14)Used By (0)

DEPRECATED - Translate plugin for Craft CMS [![Build Status](https://camo.githubusercontent.com/12eb7d7aac1eb04a1bc1256596a8435b12641151dd4971061c523b56cec157b6/68747470733a2f2f7472617669732d63692e6f72672f626f626f6c646568616d7073696e6b2f7472616e736c6174652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/boboldehampsink/translate) [![Code Coverage](https://camo.githubusercontent.com/094554cedfb4e8461df0657eb2fb1e0d025bdb832135426f111c824405f2bd70/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f626f626f6c646568616d7073696e6b2f7472616e736c6174652f6261646765732f636f7665726167652e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/boboldehampsink/translate/?branch=develop) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/5a44e650b6d6d849ae06d979fdf6964c9232de71a8c98e4ec894e7e2d504ba89/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f626f626f6c646568616d7073696e6b2f7472616e736c6174652f6261646765732f7175616c6974792d73636f72652e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/boboldehampsink/translate/?branch=develop)
=============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#deprecated---translate-plugin-for-craft-cms---)

Plugin that allows you to translate your website.

Features:

- Reads Craft::t(), Craft.t() and ""|t()
- Saves translations in own plugin translations folder
- Friendly UI (Select locale, search, select location, filter files, browse paths)
- Register your own translation sources with hook "registerTranslateSources"

Todo:

- Better UI (Show filepath, more locations)
- Google Translate support

Important: The plugin's folder should be named "translate"

Deprecated
==========

[](#deprecated)

With the release of Craft 3 on 4-4-2018, this plugin has been deprecated. You can still use this with Craft 2 but you are encouraged to use (and develop) a Craft 3 version. At this moment, I have no plans to do so.

Development
===========

[](#development)

Run this from your Craft installation to test your changes to this plugin before submitting a Pull Request

```
phpunit --bootstrap craft/app/tests/bootstrap.php --configuration craft/plugins/translate/phpunit.xml.dist --coverage-text craft/plugins/translate/tests
```

Changelog
=========

[](#changelog)

### 0.4.2

[](#042)

- Add node\_modules to excluded vendor folders (thanks to @tcsehv)

### 0.4.1

[](#041)

- All service code is now fully covered by unit tests

### 0.4.0

[](#040)

- Added Craft 2.5 compatibility

### 0.3.4

[](#034)

- Added support for finding translatable strings in object notation
- Added a MIT license

### 0.3.3

[](#033)

- Only init with local stored locale when there is any, else init with default instead of empty - this prevented saving in some occasions

### 0.3.2

[](#032)

- Added the ability to read the translate tag when setting variables in twig

### 0.3.1

[](#031)

- Verify matched translatable files as valid source

### 0.3.0

[](#030)

- Added support for nested plugin and template sources
- Added JSON, Atom and RSS support

### 0.2.9

[](#029)

- Added getCsrfInput function to forms

### 0.2.8

[](#028)

Warning! This version is updated for Craft 2.3 and does NOT work on Craft 2.2

### 0.2.7

[](#027)

- Fixed a bug where opening twig files would not match any expression

### 0.2.6

[](#026)

- Added support for opening .twig files

### 0.2.5

[](#025)

- Don't encode table attribute html, closing issue #2

### 0.2.4

[](#024)

- Merge translations so we don't lose translations, fixing issue #1

### 0.2.3

[](#023)

- Added a "registerTranslateSources" hook to add translate sources

### 0.2.2

[](#022)

- Allow more filters after |translate

### 0.2.1

[](#021)

- Enforce UTF-8 encoding on CSV download

### 0.2

[](#02)

- Added ability to easily select a locale
- Added ability to search for words/translations
- Added ability to look in a specific location
- Added ability to upload updated translations (csv)
- Added ability to download translations (csv)

### 0.1

[](#01)

- Initial push to GitHub

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~54 days

Recently: every ~134 days

Total

12

Last Release

3581d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3dd0df0464b4919048281ee42a9210f4323e8f3a78d046067e550992e4a5fb7e?d=identicon)[boboldehampsink](/maintainers/boboldehampsink)

---

Top Contributors

[![tcsehv](https://avatars.githubusercontent.com/u/2689733?v=4)](https://github.com/tcsehv "tcsehv (1 commits)")

### Embed Badge

![Health badge](/badges/boboldehampsink-translate/health.svg)

```
[![Health](https://phpackages.com/badges/boboldehampsink-translate/health.svg)](https://phpackages.com/packages/boboldehampsink-translate)
```

###  Alternatives

[mediawiki/translate

The only standard solution to translate any kind of text with an avant-garde web interface within MediaWiki, including your documentation and software

457.9k](/packages/mediawiki-translate)[mediawiki/universal-language-selector

The primary aim is to allow users to select a language and configure its support in an easy way. Main features are language selection, input methods and web fonts.

2418.6k](/packages/mediawiki-universal-language-selector)[mediawiki/semantic-interlanguage-links

A Semantic Mediawiki extension to create and manage interlanguage links.

125.9k](/packages/mediawiki-semantic-interlanguage-links)[wcm/wcm-lang-switch

Adds a button to the admin toolbar. This buttons allows users to seamlessly switch between available languages..

212.0k](/packages/wcm-wcm-lang-switch)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
