# ViĞnette, création d'affichettes pour Ğmarchés

**URL:** <https://forum.duniter.org/t/vignette-creation-daffichettes-pour-gmarches/7994>\
**Category:** Tools\
**Created:** [25 January 2021 16:50 UTC](https://forum.duniter.org/t/vignette-creation-daffichettes-pour-gmarches/7994 "2021-01-25T16:50:23Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![matograine](https://forum.duniter.org/letter_avatar/matograine/32/6_449c533f586939b6e5f246632a46421f.png) [@matograine](https://forum.duniter.org/u/matograine)\
**Post date:** [7 December 2021 19:00 UTC](https://forum.duniter.org/t/vignette-creation-daffichettes-pour-gmarches/7994/5 "2021-12-07T19:00:23Z")

</div>

Hi ! It is very nice of you !

I just merged the ‹&nbsp;dev&nbsp;› branch into ‹&nbsp;master&nbsp;› since many improvements happened there. Be sure to pull last changes on `master`.

As you can see in the code, all strings are hardcoded in french. I have never implemented i18n. I don’t think it would be really difficult, but it is not in my top priorities for coming months.

So you have two choices :

- KISS (my favourite) : fork the repo, translate all strings hard-coded, serve it for each language you wish. I will add links to the french homepage pointing to foreign language pages. When creating a real i18n system (see below) I shall get all translated strings from foreign language HTML/JS files

- Use an i18n system (I would go for something like [static-i18n - npm](https://www.npmjs.com/package/static-i18n)) and make a MR. I don’t think I will accept the MR as is: as a maintainer, I want to understand the build system, and there is no better way for this than writing it myself

---

_[View the full topic](https://forum.duniter.org/t/vignette-creation-daffichettes-pour-gmarches/7994)._
