UseBB Community

The official board for UseBB help and discussion

UseBB Community » 1.0 Discussion » lang_xxx.php change to xxx_lang.php

lang_xxx.php change to xxx_lang.php

Page: 1

Author Post
Member
Registered: Apr 2006
Posts: 20
Location: Germany
is it possible to change this ?
it makes the files opinion more clearly.
particularly in the future if more and more language files appear.

look what i mean:

admin_english.php
admin_german.php
admin_nederlands.php
faq_english.php
faq_german.php
faq_nederlands.php
lang_english.php
lang_german.php
lang_nederlands.php
etc..

better:

english_admin.php
english_faq.php
english_lang.php
german_admin.php
german_faq.php
german_lang.php
nederlands_admin.php
nederlands_faq.php
nederlands_lang.php

or not? :D
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
This would cause too many problems, we are using this sort of file scheming since 0.3.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Apr 2006
Posts: 20
Location: Germany
Hmm, why problems ?

require(ROOT_PATH.'languages/'.$section.'_'.$language.'.php');


is it not only to change $section with $language in the functions.php .. ?

ok - maybe, in one or two other files more too :D

however
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
There are quite a few people who have written language files. Changing this would mean all these files will have to be renamed on all the websites that use UseBB.

After all, it is clear UseBB 1.x is on its final tracks of development and will be feature-closed soon when 1.0 RC1 is released (also see the roadmap).
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog

Page: 1

UseBB Community » 1.0 Discussion » lang_xxx.php change to xxx_lang.php

UseBB Community is powered by UseBB 1 Forum Software