Is index.htm optional or not?

Having a question about translating phpBB 3.2? Want to discuss and collaborate with people currently translating phpBB 3.2? Here would be the correct place to do so.
Post Reply
User avatar
scootergrisen
Registered User
Posts: 187
Joined: Thu Aug 25, 2011 2:25 pm
Contact:

Is index.htm optional or not?

Post by scootergrisen » Thu Mar 29, 2018 6:36 pm

On https://github.com/phpbb/phpbb-translat ... delines.md it says "index.htm (optional)" like translations dont need to have index.htm files.

But on https://github.com/phpbb/phpbb-translat ... idation.md it says "All folders must contain an index.htm file".

So i guess one should be corrected.

User avatar
Crizzo
Translations & International Support Teams Manager
Translations & International Support Teams Manager
Posts: 763
Joined: Thu Apr 23, 2009 1:20 pm
Location: Germany
Name: Christian
Contact:

Re: Is index.htm optional or not?

Post by Crizzo » Fri Mar 30, 2018 5:15 pm

Hi,

put in every "new" and "your" folder an index.htm file, like shown in the guidelines.

E.g.: language/<iso>/index.htm

Please don't include an index.htm file, where the original package already has one. Like language/index.htm

Regards
My extensions for phpBB: crizzo.de
German phpBB Support at www.phpbb.de

User avatar
scootergrisen
Registered User
Posts: 187
Joined: Thu Aug 25, 2011 2:25 pm
Contact:

Re: Is index.htm optional or not?

Post by scootergrisen » Sat Mar 31, 2018 3:44 pm

Crizzo wrote:
Fri Mar 30, 2018 5:15 pm
Please don't include an index.htm file, where the original package already has one. Like language/index.htm
Did you write that correctly?
There is no language/index.htm in the british english language pack.

If it says "All folders must contain an index.htm file." and this is not the case then i suggest changing the text.

User avatar
Crizzo
Translations & International Support Teams Manager
Translations & International Support Teams Manager
Posts: 763
Joined: Thu Apr 23, 2009 1:20 pm
Location: Germany
Name: Christian
Contact:

Re: Is index.htm optional or not?

Post by Crizzo » Sat Mar 31, 2018 4:19 pm

I meant the complete package, which includes those index.htm files.

But yes, I need to improve the wording there.
My extensions for phpBB: crizzo.de
German phpBB Support at www.phpbb.de

User avatar
scootergrisen
Registered User
Posts: 187
Joined: Thu Aug 25, 2011 2:25 pm
Contact:

Re: Is index.htm optional or not?

Post by scootergrisen » Sat Mar 31, 2018 4:21 pm

I see https://www.phpbb.com/customise/db/tran ... ortuguese/ have two index.htm files that british english does not have:
language/pt/email/short/index.htm
language/pt/help/index.htm

User avatar
Lumpy Burgertushie
Registered User
Posts: 64890
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Is index.htm optional or not?

Post by Lumpy Burgertushie » Sat Mar 31, 2018 4:46 pm

if you are talking about functionality then you don't need the index.htm files anywhere in phpbb.
the only reason they are there is to keep people from being able to view the contents of a directory. with the blank index.htm or index.html or even a blank index.php file, it will not list the contents. without one of them in place a viewer can go to that directory and view all its contents in the browser.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

User avatar
scootergrisen
Registered User
Posts: 187
Joined: Thu Aug 25, 2011 2:25 pm
Contact:

Re: Is index.htm optional or not?

Post by scootergrisen » Sat Mar 31, 2018 9:23 pm

From a translators point of view i dont need the index.htm files at all but lets just say we have to temporaly to fix something.

So we have index.htm in:
language/en/email/
But not in:
language/en/email/short/
That does not seem to make sense.

The en/language/help foldes also does not have a index.htm.

If i download both phpBB3.2.2 and the british language pack for 3.2.2 and compare with phpbb3.2.2 the language folder contains a index.htm file but the language pack does not.

User avatar
Lumpy Burgertushie
Registered User
Posts: 64890
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Is index.htm optional or not?

Post by Lumpy Burgertushie » Sun Apr 01, 2018 4:17 am

the index.htm page is just a blank page. it not needed at all in any folder of phpbb. it is just put in some of them ( not sure why not all of them ) as a way to keep people from being able to just see the list of all the files in that folder.

unless it is a requirement by the phpbb.com translation group then don't worry about it.


robrert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

User avatar
scootergrisen
Registered User
Posts: 187
Joined: Thu Aug 25, 2011 2:25 pm
Contact:

Re: Is index.htm optional or not?

Post by scootergrisen » Sun Apr 01, 2018 11:00 pm

I hope they can be removed from the files translators have to deal with because they dont contain translations.

User avatar
Lumpy Burgertushie
Registered User
Posts: 64890
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Is index.htm optional or not?

Post by Lumpy Burgertushie » Sun Apr 01, 2018 11:24 pm

what does that mean? having a index file in the language folder is not a problem. you do not have to deal with it at all.
if there is one, leave it there or if there isn't one , forget about it or copy one and put it in the folder or whatever. it just does not make any difference at all.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

User avatar
scootergrisen
Registered User
Posts: 187
Joined: Thu Aug 25, 2011 2:25 pm
Contact:

Re: Is index.htm optional or not?

Post by scootergrisen » Mon Apr 02, 2018 12:08 am

It means as a translator i dont need to get files that does not involve translation.
Just like the stylesheet.css file. I dont need it as a translator.
Or the LICENSE file. I dont need it as a translator.

I now see on https://github.com/phpbb/phpbb-translat ... ion-policy it says "Concerning the LICENSE file, it is automatically added during the upload process".

Well it this is the case for the LICENSE file why could it not be the case for other files like the index.htm files etc.
That way the translators only have the files they need to translate.

User avatar
canonknipser
Registered User
Posts: 1601
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Is index.htm optional or not?

Post by canonknipser » Mon Apr 02, 2018 2:21 pm

As a translator, you can simply ignore all files which are not .php-files (and iso.txt, of course)

The index.html (and .htaccess) in every phpBB-Foolder are, as you where told before, used to prevent directory browsing on servers which have directory listing enabled by default.
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB

Post Reply

Return to “[3.2.x] Translations”

Who is online

Users browsing this forum: No registered users and 1 guest