Language packs missing phrases

Having a question about translating phpBB3? Want to discuss and collaborate with people currently translating phpBB3? Here would be the correct place to do so.
Scam Warning
colnector
Registered User
Posts: 186
Joined: Tue Aug 19, 2008 5:04 pm

Language packs missing phrases

Post by colnector »

Hi,

After seeing too many error messages such as:

Code: Select all

[11-Mar-2011  11:33:48 0] [phpBB Debug] [client 86.61.47.76] [File index.php?lang=sl&] PHP Notice: in file /var/www/forums/includes/functions_display.php on line 472 : Undefined index: NO_UNREAD_POSTS
[11-Mar-2011  11:33:48 0] [phpBB Debug] [client 86.61.47.76] [File index.php?lang=sl&] PHP Notice: in file /var/www/forums/includes/functions_display.php on line 472 : Undefined index: UNREAD_POSTS
[11-Mar-2011  11:33:48 0] [phpBB Debug] [client 86.61.47.76] [File index.php?lang=sl&] PHP Notice: in file /var/www/forums/viewforum.php on line 650 : Undefined index: UNREAD_POSTS
[11-Mar-2011  11:34:00 0] [phpBB Debug] [client 86.61.47.76] [File viewforum.php?f=35] PHP Notice: in file /var/www/forums/viewforum.php on line 650 : Undefined index: NO_UNREAD_POSTS
[11-Mar-2011  11:34:00 0] [phpBB Debug] [client 86.61.47.76] [File viewforum.php?f=35] PHP Notice: in file /var/www/forums/viewforum.php on line 650 : Undefined index: UNREAD_POSTS
[11-Mar-2011  11:34:00 0] [phpBB Debug] [client 86.61.47.76] [File viewforum.php?f=35] PHP Notice: in file /var/www/forums/viewforum.php on line 650 : Undefined index: UNREAD_POSTS
I've investigated further and found that some language packs are missing the following phrases in their common.php file:

Code: Select all

	'NO_UNREAD_POSTS'			=> 'No unread posts',
	'NO_UPLOAD_FORM_FOUND'		=> 'Upload initiated but no valid file upload form found.',
These are the languages which are missing these phrases (and perhaps more as I haven't made an extensive investigation but simply checked my logs):
es_ar / fr_x_oral / fr_x_tu / gl /hr / ku / nb / sd / sl / sq / sr / sr_x_cyr / uk_ukr

Any suggestions on how to quickly fix this problem? As I don't know all these languages I might choose to simply copy the missing phrase in English. Any better ideas?

Thanks
User avatar
Qiaeru
Former Team Member
Posts: 2603
Joined: Sun Nov 20, 2005 12:44 am
Location: Paris, France

Re: Language packs missing phrases

Post by Qiaeru »

These language packs are obsolete, please download the latest versions. However, some language packs listed have been abandonned, like fr_x_oral or fr_x_tu for example; so it's advisable to remove them, hoping that new members will maintain those translations in the future :) .
colnector
Registered User
Posts: 186
Joined: Tue Aug 19, 2008 5:04 pm

Re: Language packs missing phrases

Post by colnector »

I have downloaded all latest versions and updated everything I could before writing my post so I'm guessing they're all simply outdated.
Is there a recommended way around the notices in the log?
Any other suggestions?
Maël Soucaze wrote:These language packs are obsolete, please download the latest versions. However, some language packs listed have been abandonned, like fr_x_oral or fr_x_tu for example; so it's advisable to remove them, hoping that new members will maintain those translations in the future :) .
colnector
Registered User
Posts: 186
Joined: Tue Aug 19, 2008 5:04 pm

Re: Language packs missing phrases

Post by colnector »

Bumping up hoping for more info. Thanks.
User avatar
Qiaeru
Former Team Member
Posts: 2603
Joined: Sun Nov 20, 2005 12:44 am
Location: Paris, France

Re: Language packs missing phrases

Post by Qiaeru »

If the language packages are up to date with the latest version of phpBB, all phrases are present (we use a system detecting this automatically). If the authors did not update their language packs, you have to add the missing phrases yourself, manually :) .
colnector
Registered User
Posts: 186
Joined: Tue Aug 19, 2008 5:04 pm

Re: Language packs missing phrases

Post by colnector »

Well, I can see that some of the languages have not been updated to the latest version. For example:
http://www.phpbb.com/customise/db/translation/galician/

So would it do any good to send a PM to the author?
Maël Soucaze wrote:If the language packages are up to date with the latest version of phpBB, all phrases are present (we use a system detecting this automatically). If the authors did not update their language packs, you have to add the missing phrases yourself, manually :) .
User avatar
Qiaeru
Former Team Member
Posts: 2603
Joined: Sun Nov 20, 2005 12:44 am
Location: Paris, France

Re: Language packs missing phrases

Post by Qiaeru »

The authors of outdated language packs are often contacted, but they are not forced to update their language packs. They are volunteers, do not forget. However, to prevent users from downloading such language packs that can be problematic, we have planned to hide the language packs if they are not up to date with the latest version after a certain period (approximately three weeks) of its release. These changes will be taken into account after the phpBB 3.0.9 release.

Regards,
colnector
Registered User
Posts: 186
Joined: Tue Aug 19, 2008 5:04 pm

Re: Language packs missing phrases

Post by colnector »

Thank you very much for the update :)

In regard to the initial message I've written here, could there be another reason rather than the language packs being outdated for the notices in the log to appear?

Please mind I've d/led everything I could to confirm it's not because I didn't update to the latest version.

Return to “[3.0.x] Translations”