Member
Member
Wurzel555   10-03-2015, 12:44
#1

Hi,

I added the en_GB locale to my installation with a proper flag to represent English as we are not all Amercian, however I am getting messages in my server logs that there is no zenphoto.po or mo. However there is no .po or .mo in the en_US directory either.

Is this an issue or can I just ignore them?

Cheers
Steve

Administrator
Administrator
fretzl   10-03-2015, 13:37
#2

You cannot just add locale's without the proper translation files (i.e .po and .mo files)

If Zenphoto can't find the .po and .mo files it will always default to the language used in the script.
That's why the en_US folder has no .po and .mo files.

You could of course create the en_GB locale yourself.
See http://www.zenphoto.org/news/translating-tutorial

Member
Member
Wurzel555   10-03-2015, 13:54
#3

Thanks but the language used is UK English So surely I should be getting .po and .mo log entries for the US English as that has no .mo or .po either.

But I will create one and that should stop the log entries.

Administrator
Administrator
fretzl   10-03-2015, 14:24
#4

Good point. It's a hardcoded exception.

Administrator
Administrator
acrylian   10-03-2015, 14:37
#5

You can actually create an /zp-core/locale/en_GB/ folder with just a flag image in there without a .mo/.po file to use the en_GB locale. In that case you will just get the default en_US English (which is probably not pure US English but a kind of mixture as I for example originally learned British).

If you really need British English then there is of course no way around creating specific translation files.

Member
Member
Wurzel555   10-03-2015, 14:42
#6

Thanks guys, I am in the middle of creating the .PO for GB English now, may take a while as it is quite huge :D

I also just found a bug in the German .po file :D

Administrator
Administrator
acrylian   10-03-2015, 15:29
#7

Yeah, I can imagine that this will take a while even if you may be able to use a lot of the default English …

Best open a ticket for the bug in the German one. There are for sure some within all those strings.

Member
Member
Wurzel555   10-03-2015, 15:39
#8

It is nothing major just a missing Stephane Angoulvant mit Änderungen von Stephen Billard (sbillard)

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.