`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
stroring language filenames installed in Database ?
Moderator: General Support Moderators
-
- Joomla! Apprentice
- Posts: 19
- Joined: Mon Dec 25, 2006 3:08 pm
- pe7er
- Joomla! Master
- Posts: 24985
- Joined: Thu Aug 18, 2005 8:55 pm
- Location: Nijmegen, Netherlands
- Contact:
Re: stroring language filenames installed in Database ?
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).
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
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
-
- Joomla! Apprentice
- Posts: 19
- Joined: Mon Dec 25, 2006 3:08 pm
Re: stroring language filenames installed in Database ?
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
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
- ronildo
- Joomla! Virtuoso
- Posts: 4021
- Joined: Thu Aug 18, 2005 12:39 pm
- Location: São Paulo - Brazil
- Contact:
Re: stroring language filenames installed in Database ?
@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.
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.
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.
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: stroring language filenames installed in Database ?
This is a Joomla 1.0 forum. Is your question related to 1.0.x ?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.
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
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
- ronildo
- Joomla! Virtuoso
- Posts: 4021
- Joined: Thu Aug 18, 2005 12:39 pm
- Location: São Paulo - Brazil
- Contact:
Re: stroring language filenames installed in Database ?
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
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.
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.