WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • Why aren't the languages in the database?
  • Print
Pages: [1]   Go Down

Author Topic: Why aren't the languages in the database?  (Read 5025 times)

Offline PurpleEdge

  • Posts: 231
  • Gender: Male
    • the northern beaches
Why aren't the languages in the database?
« on: September 25, 2010, 04:25:05 AM »
Is there a good reason why the languages aren't in a datafile?

Wouldn't it make management much easier?
Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Why aren't the languages in the database?
« Reply #1 on: September 25, 2010, 10:55:13 PM »
it is a bit "expensive" to put messages in a database.

The languages are mainly just words or very small sentences. But it could be we need 100 or more of those to build a page. (especially in the backend)
That would need 100 queries to the database, instead of a single read of the language file.

Messages do not change frequently, so there is no real advantage in making a complete database management for it.
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Why aren't the languages in the database?
« Reply #2 on: September 25, 2010, 11:20:15 PM »
Hello Purple,

as Ruud said, it wouldn't make much sense to put the data into a database.

However, if you find the language management is too komplex as it is right now, have a look how it is handled in the Admin-Tool "Practical Module Functions" from User Thorn.
Espacially if you're after to create own modules, this Admin-Tool and its functions can be of interest for you.

It has a totally different approach on the language files and a language editor "console".

Kind regards,
Stefek
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline PurpleEdge

  • Posts: 231
  • Gender: Male
    • the northern beaches
Re: Why aren't the languages in the database?
« Reply #3 on: October 17, 2010, 08:53:39 AM »
Hello,

It would be easy to read all the required language records on start-up into an array, so I doubt there is any performance hit at all. And backend management would be much easier, especially for end-users.

It was just a thought, I don't develop multi language sites at all, so it is not an issue for me.
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • Why aren't the languages in the database?
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2