1

Topic: Can´t creata new PO-file in 0.9.0!

==== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 14.04.1 LTS x64
- Related log if you're reporting an issue:

* Update existing new translations catalog based on iredadmin.po...
updating catalog './sv_SE/LC_MESSAGES/iredadmin.po' based on 'iredadmin.po'
Traceback (most recent call last):
  File "/usr/bin/pybabel", line 9, in <module>
    load_entry_point('Babel==1.3', 'console_scripts', 'pybabel')()
  File "/usr/lib/python2.7/dist-packages/babel/messages/frontend.py", line 1151, in main
    return CommandLineInterface().run(sys.argv)
  File "/usr/lib/python2.7/dist-packages/babel/messages/frontend.py", line 665, in run
    return getattr(self, cmdname)(args[1:])
  File "/usr/lib/python2.7/dist-packages/babel/messages/frontend.py", line 1113, in update
    infile = open(filename, 'U')
IOError: [Errno 2] No such file or directory: './sv_SE/LC_MESSAGES/iredadmin.po'
Can't open sv_SE/LC_MESSAGES/iredadmin.po: No such file or directory.
Can't open sv_SE/LC_MESSAGES/iredadmin.po: No such file or directory.
* Convert translation catalogs into binary MO files...
  + Converting sv_SE...
msgfmt: error while opening "sv_SE/LC_MESSAGES/iredadmin.po" for reading: No such file or directory
root@mail:/usr/share/apache2/iredadmin/i18n# cd sv_SE/
root@mail:/usr/share/apache2/iredadmin/i18n/sv_SE# ls
LC_MESSAGES
root@mail:/usr/share/apache2/iredadmin/i18n/sv_SE# cd LC_MESSAGES/
root@mail:/usr/share/apache2/iredadmin/i18n/sv_SE/LC_MESSAGES# ls
root@mail:/usr/share/apache2/iredadmin/i18n/sv_SE/LC_MESSAGES#

====

As an old translater, I want to give back when I saw that there were no translation for my language. I followed this guide: http://www.iredmail.org/forum/topic378- … guage.html and ended up with the no file created.

Cheers

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Can´t creata new PO-file in 0.9.0!

Please create empty file sv_SE/LC_MESSAGES/iredadmin.po first.

Sorry about this trouble, I will fix it later.

3

Re: Can´t creata new PO-file in 0.9.0!

Thank U! smile

4

Re: Can´t creata new PO-file in 0.9.0!

Here's short tutorial to help you translate iRedAdmin-Pro to your language:
http://www.iredmail.org/docs/translate.iredadmin.html