KatjaGlassConsulting / ApprovalBundle

A Kimai Plugin to manage weekly approval workflow
MIT License
12 stars 15 forks source link

How to translate this plugin? #52

Closed ldmpub closed 1 month ago

ldmpub commented 3 months ago

Hi,

This Kimai extension seems to be translatable 👍.

Is there any translation how to? Which explains translation workflow and tools to be used to proceed ? (I want to help create the french translation but I have limited knowledge of xlf files / XLIFF format)

First step

[!NOTE] Original discussion in Kimai projet

KatjaGlassConsulting commented 2 months ago

Hi @ldmpub,

you can copy ApprovalBundle\Resources\translations\messages.en.xliff to messages.fr.xliff and rename all texts which are in between and . If you do the translations, please create a pull request, then this new french translation can be included into the bundle as well. As soon as I have a translation file, I will do all following changes considering that language.

When you create the translation file, you need to refresh Kimai so the new tranlations are loaded:

bin/console kimai:reload -n
bin/console cache:clear
ldmpub commented 2 months ago

Ok, it's clear, let's go 😀.

ldmpub commented 1 month ago

Hi, I won't translate this addon to french as far as I do not use it anymore.