PHPackages                             mathieumaingret/drup\_csv2po - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mathieumaingret/drup\_csv2po

ActiveDrupal-module[Utility &amp; Helpers](/categories/utility)

mathieumaingret/drup\_csv2po
============================

1.5(11mo ago)08.1k↓16.7%GPL-2.0-or-laterPHPPHP ^8.0

Since Jun 19Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/mathieumaingret/drup_csv2po)[ Packagist](https://packagist.org/packages/mathieumaingret/drup_csv2po)[ Docs](https://github.com/mathieumaingret/drup_csv2po)[ RSS](/packages/mathieumaingret-drup-csv2po/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (2)Versions (5)Used By (0)

Prérequis :
-----------

[](#prérequis-)

***Modules contrib :***

- drush

***Configurations***

1. Ajouter la configuration suivante à my\_module.info.yml pour indiquer à Drupal la localisation des fichiers de traduction du thème ou module :

```
'interface translation project': my_module
'interface translation server pattern': modules/custom/my_module/translations/%project.%language.po
```

2. /admin/config/regional/translate/settings : value overwrite = All

Commandes
---------

[](#commandes)

```
drush csv2po --options
```

### Options

[](#options)

Voir DrupCsv2PoConverter::$defaultOptions

Par défaut le fichier se trouve dans /themes/DEFAULT/translations/translations.csv

**Exemples**

***Thème personnalisé :***` lando drush csv2po --extension_type theme --extension_name backend`

***Module personnalisé***` lando drush csv2po --extension_type module --extension_name my_module`

***Exemple en dl depuis une url de google sheet***`lando drush csv2po --csv_remote_url https://docs.google.com/spreadsheets/d/XXX/gviz/tq\?tqx\=out:csv`

\*\*\*Options dans settings.php

```
$settings['drup_csv2po']['csv_remote_url'] = 'https://docs.google.com/spreadsheets/d/[ID]/gviz/tq?tqx=out:csv';
$settings['drup_csv2po']['extension_type'] = 'module';
$settings['drup_csv2po']['extension_name'] = 'drup_translations';
```

CSV Format
----------

[](#csv-format)

#### Nom des colonnes (\* obligatoire)

[](#nom-des-colonnes--obligatoire)

- EN (\*) : traductions sources en anglais
- CONTEXT (\*) : contextes de traduction
- PLURAL (\*) : définit si rempli que la valeur est formattée singulier/pluriel
- PAGE : ajoute en commentaire si différent d'une traduction à une autre
- \[LANGCODE\] : une colonne nommée par le langcode sur 2 lettres pour chaque traduction

***Exemple de CSV***

"PAGE","CONTEXT","PLURAL","EN","FR","DE","ES","IT","PL" "FAQ","","","Frequently asked questions","Questions fréquentes","Häufig gestellte Fragen","Preguntas frecuentes"," Domande frequenti","Najczęściej zadawane pytania" "","","","Search by keywords","Rechercher par mots-clés","Nach Stichwörtern suchen","Búsqueda por palabras clave"," Ricerca per parole chiave","Wyszukiwanie według słów kluczowych"

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance52

Moderate activity, may be stable

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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 ~257 days

Total

4

Last Release

337d ago

PHP version history (2 changes)1.1PHP ^7.0 || ^8.0

1.2PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/cbf1d184864bfccd773caaa812c82f2307771830e2eab4b8001e6debac8a095d?d=identicon)[mathieumaingret](/maintainers/mathieumaingret)

---

Top Contributors

[![mathieumaingret](https://avatars.githubusercontent.com/u/22579623?v=4)](https://github.com/mathieumaingret "mathieumaingret (11 commits)")

### Embed Badge

![Health badge](/badges/mathieumaingret-drup-csv2po/health.svg)

```
[![Health](https://phpackages.com/badges/mathieumaingret-drup-csv2po/health.svg)](https://phpackages.com/packages/mathieumaingret-drup-csv2po)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.9k69.5k](/packages/grumpydictator-firefly-iii)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M986](/packages/statamic-cms)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[azuracast/azuracast

The AzuraCast self-hosted web radio station management suite.

3.9k27.8k](/packages/azuracast-azuracast)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

5.1k5.2k](/packages/shlinkio-shlink)[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

293952.6k33](/packages/craftcms-feed-me)

PHPackages © 2026

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