[GH-ISSUE #21] Make Comic Easel compatible with Loco Translate by merging comiceasel-en_US and en_US .po and .mo files #20

Open
opened 2026-06-06 22:29:05 -04:00 by yindo · 7 comments
Owner

Originally created by @JN-Squire on GitHub (Jul 17, 2016).
Original GitHub issue: https://github.com/Frumph/comic-easel/issues/21

I got a lot of interest lately about Comic Easel from French comic authors, translators and readers, so I translated comiceasel-en_US PO and MO files with the best and most complete free tool I have on hand: Loco translate. (French is my native language)

The thing is, since the lang directory don't have any POT file, Loco Translate only dectect strings from comiceasel-en_US files, not the different ones put in the en_US files. As a result, it's currently impossible to translate fully the plugin in any language and publish comics to non-English readers with it! :(

For fixing this bug, and since, the POT file doesn't seem essential for Loco Translate, I suggest first to merge comiceasel-en_US and en-US PO and MO files.

Originally created by @JN-Squire on GitHub (Jul 17, 2016). Original GitHub issue: https://github.com/Frumph/comic-easel/issues/21 I got a lot of interest lately about Comic Easel from French comic authors, translators and readers, so I translated comiceasel-en_US PO and MO files with the best and most complete free tool I have on hand: [Loco translate](https://localise.biz/help/wordpress/translate-plugin). (French is my native language) The thing is, [since the lang directory don't have any POT file](https://localise.biz/help/wordpress/translate-plugin/faqs#4), Loco Translate only dectect strings from comiceasel-en_US files, not the different ones put in the en_US files. As a result, it's currently impossible to translate fully the plugin in any language and publish comics to non-English readers with it! :( For fixing this bug, and since, the POT file doesn't seem essential for Loco Translate, I suggest first to merge comiceasel-en_US and en-US PO and MO files.
Author
Owner

@Frumph commented on GitHub (Jul 17, 2016):

Updated the comiceasel-en_US/mo/po files, if you want to add french ones they should be comiceasel-fr_FR/mo/po and if they have 'wordpress in your language' configured it will use them; the WPLANG define in the wp-config.php file

<!-- gh-comment-id:233198731 --> @Frumph commented on GitHub (Jul 17, 2016): Updated the comiceasel-en_US/mo/po files, if you want to add french ones they should be comiceasel-fr_FR/mo/po and if they have 'wordpress in your language' configured it will use them; the WPLANG define in the wp-config.php file
Author
Owner

@Frumph commented on GitHub (Jul 17, 2016):

https://github.com/Frumph/comic-easel/tree/master/lang

the lang directory does have language files ;/

<!-- gh-comment-id:233198771 --> @Frumph commented on GitHub (Jul 17, 2016): https://github.com/Frumph/comic-easel/tree/master/lang the lang directory does have language files ;/
Author
Owner

@JN-Squire commented on GitHub (Jul 17, 2016):

@Frumph Thanks for the update. :)
I'll test this version as soon as I see the update on the comics dashboard (the translation is hosted by the author and I don't have rights to access the server besides the Dashboard).

<!-- gh-comment-id:233202247 --> @JN-Squire commented on GitHub (Jul 17, 2016): @Frumph Thanks for the update. :) I'll test this version as soon as I see the update on the comics dashboard (the translation is hosted by the author and I don't have rights to access the server besides the Dashboard).
Author
Owner

@JN-Squire commented on GitHub (Sep 30, 2016):

@Frumph I just finished to test properly the new file with Loco Translate 2.0. The end result is I only got 6 translated strings. After diving a bit into the .PO file, it looks like the problem comes from the #@ line used for every string ("Text Domain" for Loco Translate). It is either displayed #@ comiceasel or #@ comic-easel. I think the #@ line needs to be consistent thorough the file in order set it up properly. My suggestion is to use #@ comic-easel since the name of the plugin is made from to separated words.

<!-- gh-comment-id:250727881 --> @JN-Squire commented on GitHub (Sep 30, 2016): @Frumph I just finished to test properly the new file with Loco Translate 2.0. The end result is I only got 6 translated strings. After diving a bit into the .PO file, it looks like the problem comes from the `#@` line used for every string ("Text Domain" for Loco Translate). It is either displayed `#@ comiceasel` or `#@ comic-easel`. I think the `#@` line needs to be consistent thorough the file in order set it up properly. My suggestion is to use `#@ comic-easel` since the name of the plugin is made from to separated words.
Author
Owner

@Frumph commented on GitHub (Sep 30, 2016):

it's comiceasel, fixing the one singular one that says comic-easel right now AND about 10-15 that don't have a reference, will update in a couple hours after going to park

<!-- gh-comment-id:250818047 --> @Frumph commented on GitHub (Sep 30, 2016): it's comiceasel, fixing the one singular one that says comic-easel right now AND about 10-15 that don't have a reference, will update in a couple hours after going to park
Author
Owner

@Frumph commented on GitHub (Sep 30, 2016):

and found about 15 strings that have trailing spaces that I need to fix in the code ;/ will do that too

<!-- gh-comment-id:250818950 --> @Frumph commented on GitHub (Sep 30, 2016): and found about 15 strings that have trailing spaces that I need to fix in the code ;/ will do that too
Author
Owner

@Frumph commented on GitHub (Sep 30, 2016):

okay update made (not to live servers)

<!-- gh-comment-id:250848650 --> @Frumph commented on GitHub (Sep 30, 2016): okay update made (not to live servers)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Frumph/comic-easel#20