phpBB 3.2 language problems

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.2/Rhea followed by 3.3.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.1. If you need support for phpBB 3.1 please visit the 3.1.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
CHItA
Development Team
Development Team
Posts: 128
Joined: Thu Mar 12, 2015 1:43 pm
Location: Budapest, Hungary

Re: phpBB 3.2 language problems

Post by CHItA » Fri Sep 09, 2016 6:08 pm

leschek wrote:
Fri Sep 09, 2016 4:03 pm
Can I translate words between tags <info>--send-email</info> (in this case --send-email) in language file: language/xy/cli.php?

Example: To optionally send an email to the new user, use the <info>--send-email</info> option

EDIT: I guess it shouldn't be translated.
it shouldn't

leschek
Registered User
Posts: 161
Joined: Tue Aug 28, 2012 1:30 pm

Re: phpBB 3.2 language problems

Post by leschek » Fri Sep 09, 2016 8:15 pm

Thanks

leschek
Registered User
Posts: 161
Joined: Tue Aug 28, 2012 1:30 pm

Re: phpBB 3.2 language problems

Post by leschek » Mon Dec 19, 2016 12:31 pm

There is in phpBB 3.2 RC2 small typo in language file acp/extensions.php. On line 46 is:

'EXTENSION_NOT_INSTALLED' => 'The extension %s is not available. PLease check that you have installed it correctly.',

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1731
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: phpBB 3.2 language problems

Post by DavidIQ » Mon Dec 19, 2016 12:57 pm

leschek wrote:
Mon Dec 19, 2016 12:31 pm
There is in phpBB 3.2 RC2 small typo in language file acp/extensions.php. On line 46 is:

'EXTENSION_NOT_INSTALLED' => 'The extension %s is not available. PLease check that you have installed it correctly.',
Yes it was reported and fixed a few hours after the release.
Image

User avatar
david63 Online
Registered User
Posts: 215
Joined: Mon Feb 07, 2005 7:23 am
Location: Lancashire, UK

Re: phpBB 3.2 language problems

Post by david63 » Mon Dec 19, 2016 12:59 pm

leschek wrote:
Mon Dec 19, 2016 12:31 pm
There is in phpBB 3.2 RC2 small typo in language file acp/extensions.php. On line 46 is:

'EXTENSION_NOT_INSTALLED' => 'The extension %s is not available. PLease check that you have installed it correctly.',
Already in Bug Tracker - https://tracker.phpbb.com/browse/PHPBB3-14910
David
Remember: You only know what you know -
and you do not know what you do not know!

leschek
Registered User
Posts: 161
Joined: Tue Aug 28, 2012 1:30 pm

Re: phpBB 3.2 language problems

Post by leschek » Wed Dec 21, 2016 11:12 am

DavidIQ wrote:
Mon Dec 19, 2016 12:57 pm
Yes it was reported and fixed a few hours after the release.
david63 wrote:
Mon Dec 19, 2016 12:59 pm
Already in Bug Tracker - https://tracker.phpbb.com/browse/PHPBB3-14910
Oh, I'm sorry I didn't check bug tracker.

I was trying to update my translation of 3.2 RC2 and here are a few lines I have problem to understand and can't translate:

in file cli.php
  1. line 89: 'CLI_DESCRIPTION_UPDATE_CHECK_ARGUMENT_1' => 'Name of the extension to check (if all, checks all the extensions)',
    Is it mean that if user write "all", then all extensions will be checked? I'm not sure if I can translate word "all".
  2. line 90: 'CLI_DESCRIPTION_UPDATE_CHECK_OPTION_CACHE' => 'Run check command with cache.',
    Can I translate it as "Run check command with using of cache"?
  3. Line 93: 'CLI_ERROR_INVALID_STABILITY' => '"%s" is not a valid stability.',
    Not sure what this line mean. I guess it could mean ""%s" is not a valid stable version", but I'm not sure. Here is ticket about the issue.
In file vendor\symfony\http-foundation\File\MimeType\MimeTypeGuesser.php are some hard coded messages which could appear during board update:
line 131: $msg = 'Unable to guess the mime type as no guessers are available';
line 133: $msg .= ' (Did you enable the php_fileinfo extension?)';

when those messages appear, whole updater is switched to English, despite other (Czech) language was selected for updating.

Nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 297
Joined: Sun Apr 13, 2014 1:40 am
Location: Paris

Re: phpBB 3.2 language problems

Post by Nicofuma » Wed Dec 21, 2016 12:40 pm

1. Should be read as Name of the extension to check (if "all", checks all the extensions) the first all is the value to use and shouldn't be translated
2. yes, it is Run check command with using of cache
3. It is a bit more complex as the valid values are (iirc) stable, rc, beta, alpha, dev
Member of the phpBB Development-Team
No Support via PM

leschek
Registered User
Posts: 161
Joined: Tue Aug 28, 2012 1:30 pm

Re: phpBB 3.2 language problems

Post by leschek » Wed Dec 21, 2016 1:00 pm

Thank you for explanation. I still don't understand completely this:

'CLI_ERROR_INVALID_STABILITY' => '"%s" is not a valid stability.',

Can I translate it as "%s" is not a valid value.?

User avatar
3Di
Registered User
Posts: 694
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano (I) Frankfurt (D)
Contact:

Re: phpBB 3.2 language problems

Post by 3Di » Thu Dec 22, 2016 10:10 pm

"%s" is not a valid version identifier. should fit IMO

Source: http://semver.org/#spec-item-11
Want to compensate me for my interest? Don't ask me, just do it
I'm available for custom phpBB jobs, you can PM me the details.
New: my Live Board, Extensions and Tools for phpBB - Men at works.

leschek
Registered User
Posts: 161
Joined: Tue Aug 28, 2012 1:30 pm

Re: phpBB 3.2 language problems

Post by leschek » Sat Dec 24, 2016 9:44 am

Thank you. Finally I understand it.

Post Reply