I find a possible bug with how fvwm handle my French locale. The apostrophe is part of that language and fvwm is not consistant on how it handle that character. As example, if I have:
msgid "Resume hybride with screen lid" msgstr "Veille puis hibernation lors de la fermeture de l'écran" into fvwm-crystal.po, the following will work fine: All (TestLocale-Dialog) Close DestroyModuleConfig TestLocale-Dialog: * *TestLocale-Dialog: Title "$[gt.Resume hybride with screen lid]" *TestLocale-Dialog: Text "$[gt.Resume hybride with screen lid]" *TestLocale-Dialog: Line Center *TestLocale-Dialog: Button quit "$[gt.Quit]" ^M *TestLocale-Dialog: Command Nop Module FvwmForm TestLocale-Dialog # but what follow will result into a screwed up menu: DestroyFunc TestScreenLidSuspend AddToFunc TestScreenLidSuspend + I Nop DestroyFunc TestNoScreenLidSuspend AddToFunc TestNoScreenLidSuspend + I Nop DestroyFunc TestScreenLidSuspend-generator AddToFunc TestScreenLidSuspend-generator + I DestroyMenu recreate /TestScreenLidSuspend + I Piperead "echo AddToMenu /TestScreenLidSuspend \\'$[gt.Resume hybride with screen lid]\\' TestScreenLidSuspend" DestroyMenu /TestScreenLidSuspend AddToMenu /TestScreenLidSuspend + DynamicPopupAction Function TestScreenLidSuspend-generator DestroyMenu /TestExit AddToMenu /TestExit + '%22x22/fvwm-crystal/gdm.png%$[gt.Resume hybride with screen lid]' Popup /TestScreenLidSuspend # Menu /TestExit show than the main menu is already screwed up. If I replace the "'" by a "_" into the translated string, it work fine in both cases. I try to escape the "'" into the po file, but in the best case it doesn't helped. Is it something I didn't figured out I can do? Best, Dominique -- If you have a problem and you are not doing anything to fix it, you are at the heart of the problem.
fvwm-crystal.mo
Description: application/gettext-translation
# French translation for FVWM-Crystal # Copyright (C) 2005 FVWM-Crystal team # This file is distributed under the same license as the fvwm-crystal package. # Original by Nicolas Vilz 'niv' <n...@iaglans.de>, 2005. # Modified by Dominique Michel <dominique_li...@sourceforge.net>, 2006 to 2014 # msgid "" msgstr "" "Project-Id-Version: fvwm-crystal 3.5.1\n" "POT-Creation-Date: 2019-08-28 12:14+0200\n" "PO-Revision-Date: 2019-08-28 12:32+0200\n" "Last-Translator: Dominique Michel <dominique_li...@users.sourceforge.net>\n" "Language-Team: French\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 2.2\n" msgid "Resume hybride with screen lid" msgstr "Veille puis hibernation lors de la fermeture de l'écran"
TestLocale
Description: Binary data