Ok. I'm only testing translateI would prefer If you wait until we are ready for that task.
duplicate digest at ./po2js.pl line 592. Type the following command, "cd po/ && make". This brings you ??.po file.
Try to add your language to language_map around 183 th line in ext4/pvemanagerlib.js
I do not get any error here. Try
# cd po
# make update-po
BD5HTYmatoMacBook-Pro:po bd5hty$ ls
Makefile fr.po messages.pot zh_CN.po
de.po ja.po po2js.pl zh_CN???.po
es.po jsgettext.pl sv.po
BD5HTYmatoMacBook-Pro:po bd5hty$ make
./po2js.pl de.po >pve-lang-de.js.tmp
Can't locate Locale/PO.pm in @INC (@INC contains: /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level /System/Library/Perl/Extras/5.10.0 .) at ./po2js.pl line 4.
BEGIN failed--compilation aborted at ./po2js.pl line 4.
make: *** [pve-lang-de.js] Error 2
BD5HTYmatoMacBook-Pro:po bd5hty$ make update-po
./jsgettext.pl ../www/manager
Can't locate PVE/Tools.pm in @INC (@INC contains: /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level /System/Library/Perl/Extras/5.10.0 .) at ./jsgettext.pl line 5.
BEGIN failed--compilation aborted at ./jsgettext.pl line 5.
make: *** [update-po] Error 2
BD5HTYmatoMacBook-Pro:po bd5hty$
I would like to test my translation is accurate, but can not generate the JS file.Why is that?
We use essential cookies to make this site work, and optional cookies to enhance your experience.