stroring language filenames installed in Database ?

General questions regarding the use of languages and encoding issues in Joomla! 1.0.x. Multi-lingual site solutions can be discussed in the child board. Translation discussions are now separate and can be found in the Working Groups Area.

Moderator: General Support Moderators

miga
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Dec 25, 2006 3:08 pm

stroring language filenames installed in Database ?

Postby miga » Fri Nov 02, 2007 8:27 pm

`hi ..
does joomla store the language file names installed in the database !?

i need to know if it is possible to retrive the number and names of language installed on a website !?

if joomla doesn`t store the filenames, then the only way to retrive those info is to open language Directory and count the files on it !?
thanks in advance

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 21265
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, The Netherlands
Contact:

Re: stroring language filenames installed in Database ?

Postby pe7er » Fri Nov 02, 2007 9:13 pm

No, in a default Joomla installation, the current language selection is stored in configuration.php
and the languages are stored as files in /languages/

However, if you use JoomFish, maybe the languages available are stored somewhere in the Joomfish tables.
As I do not have a Joomla site with JoomFish at hand, I am not sure and don't know how to retrieve all languages at the website.

Yes you can open the /languages/ directory and count the different language files.
Most languages have 3 files: an xml info file, a php file with all translations, and possibly an ignore file used for the search (to ignore common words for that language during a search).
Kind Regards,
Peter Martin, Global Moderator
http://www.db8.nl - Joomla specialist, Nijmegen, Nederland
Latest website: https://pronounce.eu/

miga
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Dec 25, 2006 3:08 pm

Re: stroring language filenames installed in Database ?

Postby miga » Fri Nov 02, 2007 10:27 pm

thank you pe7er for the answer ...
i also searched the joomla database for any possible language file names, but found nothing ..
i thought the files could be saved in some other way ..

Thanks for the answer, i will use the open dir method  :)

User avatar
ronildo
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4023
Joined: Thu Aug 18, 2005 12:39 pm
Location: São Paulo - Brazil
Contact:

Re: stroring language filenames installed in Database ?

Postby ronildo » Tue Jul 06, 2010 3:27 pm

@Pe7er
You said that:
No, in a default Joomla installation, the current language selection is stored in configuration.php

What is the variable where default language is stored??

thanks.
http://www.ronildo.com.br/blog/ pt-br | twitter: twitter.com/ronildo
http://forum.joomla.org/viewtopic.php?f=23&t=144443 - FAQ Joomla [pt]
Pessoal por favor não tiro dúvidas por e-mail nem mensagem privada, por favor não insistam.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 17981
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: stroring language filenames installed in Database ?

Postby infograf768 » Wed Jul 07, 2010 4:37 am

ronildo wrote:@Pe7er
You said that:
No, in a default Joomla installation, the current language selection is stored in configuration.php

What is the variable where default language is stored??

thanks.

This is a Joomla 1.0 forum. Is your question related to 1.0.x ?
If yes the variable is
$mosConfig_locale

In 1.5.15, the params are stored in the _components-> com_language table for default languages and in the user parameters.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
ronildo
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4023
Joined: Thu Aug 18, 2005 12:39 pm
Location: São Paulo - Brazil
Contact:

Re: stroring language filenames installed in Database ?

Postby ronildo » Sat Jul 31, 2010 3:30 pm

Thanks Jean, I found this post through the search. Didn't realize it was a 1.0.x forum.
But Thanks for the information, I also found the solution the following day :)
http://www.ronildo.com.br/blog/ pt-br | twitter: twitter.com/ronildo
http://forum.joomla.org/viewtopic.php?f=23&t=144443 - FAQ Joomla [pt]
Pessoal por favor não tiro dúvidas por e-mail nem mensagem privada, por favor não insistam.


Return to “Language - 1.0.x”

Who is online

Users browsing this forum: No registered users and 3 guests