Options for language

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72617
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Options for language

Post by KevC »

Language file ./../language/en/arabic_3_3_10/language/ar/acp/permissions_phpbb.php couldn't be opened.

Looks like you've put the Arabic folder inside the English (en) folder

Also you've uploaded the whole arabic_3_3_10 folder when you should have just put the /ar folder inside that in to the board's /language folder

So then you will have
/language with 2 folders in it. /en and /ar
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
lunarious87
Registered User
Posts: 119
Joined: Fri Sep 03, 2021 9:47 am

Re: Options for language

Post by lunarious87 »

KevC wrote: Sat Sep 23, 2023 4:29 pm ...
Also you've uploaded the whole arabic_3_3_10 folder when you should have just put the /ar folder inside that in to the board's /language folder

So then you will have
/language with 2 folders in it. /en and /ar
I did it myself... with your help
lochness
Registered User
Posts: 115
Joined: Tue Aug 07, 2007 12:04 pm

Re: Options for language

Post by lochness »

Where you able to solve it? I've got a similar error, but sure enough the language folder is not inside the English one. I've just updated to 3.3.11 and this was not in the previous 3.3.1
./../language/en/language/es_x_tu/acp/permissions_phpbb.php

What I did was copying that exact same file in that path after creating the relevant folders.

I have got another error right now in the users acp as well after the update.
Uncaught ValueError: The arguments array must contain 2 items, 1 given in /home/users//phpbb/language/language.php:313\nStack trace:\n#0 /home/users//phpbb/language/language.php(313): vsprintf()\n#1 /home/users//phpbb/language/language.php(245): phpbb\\language\\language->lang_array()\n#2 [internal function]: phpbb\\language\\language->lang()\n#3 /home/users//phpbb/user.php(462): call_user_func_array()\n#4 /home/users//includes/acp/acp_users.php(1132): phpbb\\user->lang()\n#5 /home/users//includes/functions_module.php(676): acp_users->main()\n#6 /home/users//adm/index.php(81): p_master->load_active()\n#7 {main}\n thrown in /home/users//phpbb/language/language.php on line 313',

Incidentally, I'm not using es_x_tu since when I go into it there are a lot of stuff missing, so I'm using the old es package.
User avatar
warmweer
Jr. Extension Validator
Posts: 11881
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: Options for language

Post by warmweer »

lochness wrote: Fri May 10, 2024 5:57 pm Where you able to solve it? I've got a similar error, but sure enough the language folder is not inside the English one. I've just updated to 3.3.11 and this was not in the previous 3.3.1
./../language/en/language/es_x_tu/acp/permissions_phpbb.php
...
The language pack should be unpacked into the /language folder

The final structure should
.../language/en/...
.../language/es_x_tu/...
Take note that the language pack downloaded (the zipfile) already contains the correct structure within
/spanish_casual_honorifics_3_3_11/

3 directories
/ext/
/language/
/styles/

These three have to be uploaded to you board root

How to Install a Language Pack
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
lochness
Registered User
Posts: 115
Joined: Tue Aug 07, 2007 12:04 pm

Re: Options for language

Post by lochness »

warmweer wrote: Fri May 10, 2024 6:27 pm
lochness wrote: Fri May 10, 2024 5:57 pm Where you able to solve it? I've got a similar error, but sure enough the language folder is not inside the English one. I've just updated to 3.3.11 and this was not in the previous 3.3.1
./../language/en/language/es_x_tu/acp/permissions_phpbb.php
...
The language pack should be unpacked into the /language folder

The final structure should
.../language/en/...
.../language/es_x_tu/...
Take note that the language pack downloaded (the zipfile) already contains the correct structure within
/spanish_casual_honorifics_3_3_11/

3 directories
/ext/
/language/
/styles/

These three have to be uploaded to you board root

How to Install a Language Pack
Not wanting to be rude, but if you read my post, I already mentioned that to solve that error I had to copy that exact same file (permissions_phpbb.php) in that path after creating the relevant folders.

So the folders were correctly uploaded and the locale path for that concrete file, and maybe others, is pointing to nowhere.
The file was here
./../language/es_x_tu/acp/permissions_phpbb.php

and had to be copied here
./../language/en/language/es_x_tu/acp/permissions_phpbb.php
User avatar
warmweer
Jr. Extension Validator
Posts: 11881
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: Options for language

Post by warmweer »

lochness wrote: Fri May 10, 2024 6:38 pm
Not wanting to be rude, but if you read my post, I already mentioned that to solve that error I had to copy that exact same file (permissions_phpbb.php) in that path after creating the relevant folders.

So the folders were correctly uploaded and the locale path for that concrete file, and maybe others, is pointing to nowhere.
The file was here
./../language/es_x_tu/acp/permissions_phpbb.php

and had to be copied here
./../language/en/language/es_x_tu/acp/permissions_phpbb.php
Not wanting to be rude but perhaps you should reread my post (and the link I posted): language/es/ (and other languages should not be within language/en/
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
lochness
Registered User
Posts: 115
Joined: Tue Aug 07, 2007 12:04 pm

Re: Options for language

Post by lochness »

warmweer wrote: Fri May 10, 2024 7:39 pm
lochness wrote: Fri May 10, 2024 6:38 pm
Not wanting to be rude, but if you read my post, I already mentioned that to solve that error I had to copy that exact same file (permissions_phpbb.php) in that path after creating the relevant folders.

So the folders were correctly uploaded and the locale path for that concrete file, and maybe others, is pointing to nowhere.
The file was here
./../language/es_x_tu/acp/permissions_phpbb.php

and had to be copied here
./../language/en/language/es_x_tu/acp/permissions_phpbb.php
Not wanting to be rude but perhaps you should reread my post (and the link I posted): language/es/ (and other languages should not be within language/en/
There's just this one file, just to be able to load the permission page, mind you.
User avatar
warmweer
Jr. Extension Validator
Posts: 11881
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: Options for language

Post by warmweer »

Again
/language/en/language/es_x_tu/ is wrong

language/ should contain en/ and es/ at the same level

like

Code: Select all

language/en/
        /es/
es/ should not be within en/
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
lochness
Registered User
Posts: 115
Joined: Tue Aug 07, 2007 12:04 pm

Re: Options for language

Post by lochness »

Just tell whoever pointed that file to that nested folder, not me. It doesn't matter whether you use an old or new language pack, it points there and that's it. By the way, I've just opened another thread to find help to solve this issue.
User avatar
warmweer
Jr. Extension Validator
Posts: 11881
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: Options for language

Post by warmweer »

lochness wrote: Fri May 10, 2024 7:59 pm Just tell whoever pointed that file to that nested folder, not me. It doesn't matter whether you use an old or new language pack, it points there and that's it. By the way, I've just opened another thread to find help to solve this issue.
a) what's the point of opening a now topic (not thread) for the same issue
b) it's not even an issue as I've just installed both formal and casual Spanish to test and both contain the necessary files.
If you extract the folders and files the correct way (= to the correct location, then it works as intended.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
lochness
Registered User
Posts: 115
Joined: Tue Aug 07, 2007 12:04 pm

Re: Options for language

Post by lochness »

And you've navigated to the permissions tab and had no issues, I gather.

And your zip also happened to be complete, not like mine downloaded from here https://www.phpbb.com/customise/db/tran ... onorifics/

But I just wanted to help th eOP in case he still had the issue. So I'm leaving this at this point. If my workaround works for them, great. If not, they can open a new topic themselves. No need to assume everybody is doing things wrong when they're telling you otherwise.
User avatar
warmweer
Jr. Extension Validator
Posts: 11881
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: Options for language

Post by warmweer »

lochness wrote: Fri May 10, 2024 8:31 pm And you've navigated to the permissions tab and had no issues, I gather.

And your zip also happened to be complete, not like mine downloaded from here https://www.phpbb.com/customise/db/tran ... onorifics/
Strange enough, yep both seem to be complete.
And no I haven't tested it today. It don't see the need to test them as the filesize is exactly the file size of a previously downloaded pack (which is working on a board I worked on some time ago).
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
lochness
Registered User
Posts: 115
Joined: Tue Aug 07, 2007 12:04 pm

Re: Options for language

Post by lochness »

Can you please send me that package? Either that or formal would be ok if they have no issues and I can avoid retranslating myself. You can see the issues I got here
https://www.phpbb.com/customise/db/tran ... pic/246817
User avatar
ssl
Registered User
Posts: 2029
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Options for language

Post by ssl »

What you stipulate as forgotten simply does not exist in any language file.
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.14 | PHP: 8.3.12
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
lochness
Registered User
Posts: 115
Joined: Tue Aug 07, 2007 12:04 pm

Re: Options for language

Post by lochness »

It’s the message I get when I click on the new installed language pack. And the email file is certainly there for the old Spanish pack and the English pack.🤷🏼‍♀️

Return to “[3.3.x] Support Forum”