Joomla! Discussion Forums



It is currently Mon Nov 23, 2009 2:03 pm (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.



Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2
Author Message
Posted: Thu Sep 13, 2007 10:10 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat Oct 14, 2006 8:59 am
Posts: 206
Location: Gloucestershire, UK
Jean-Marie - many thanks for taking the time to help out with this.  Most useful...and the last thing on my list!

Dan

_________________
ToolboxCreations - Joomla! website & custom template services


Top
  E-mail  
 
Posted: Fri Sep 14, 2007 8:33 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat Oct 14, 2006 8:59 am
Posts: 206
Location: Gloucestershire, UK
Hmmm...I'm still having problems with this language .ini file.

I have the file in my installer package, in the root with the index.php etc:

en-GB.tpl_tbc_xxxxxxx

The file is referenced in templateDetails.xml like this:

Code:
<administration>
     <languages folder="admin">
          <language tag="en-GB">en-GB.tpl_tbc_xxxxxxx.ini</language>
     </languages>
</administration>


The template installs fine, no errors, but the .ini file is moved to the /language/en-GB folder, not the administrator/language/en-GB/ as I was expecting.  The ini file look like this:

Code:
# $Id: en-GB.tpl_tbc_xxxxxxx.ini 2007-09-14 09:00:00 ff 0$
# author Joomla! Project
# copyright (C) 2005 Open Source Matters. All rights reserved.
# license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Note : All ini files need to be saved as UTF-8
TBC_XXXXXXX=toolbox:creations XXXXXXX Joomla! 1.5 Template
TPL_TBC_XXXXXXX=XXXXXXX is a CSS, table-less, feature-packed template for Joomla! 1.5.


Also, how is the first line generated?  I just copied the ini from BEEZ, but not sure about the information after the title.

This really is the last step now, I'd hate to be beaten by something so simple..help!

_________________
ToolboxCreations - Joomla! website & custom template services


Top
  E-mail  
 
Posted: Fri Sep 14, 2007 8:51 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Sep 09, 2007 5:25 pm
Posts: 19
Location: BEAUVAIS ( FRANCE )
Dan,
In ats.solidarity.zip you can find a readme.txt about your post

.../...
3.Template with English & French
--------------------------------
3.1 Create folder "admin" in the template

3.2 Create 4 Files (2 for Backend et 2 for Fronted)
en-GB.tpl_ats-solidarity.ini

fr-FR.tpl_ats-solidarity.ini

admin/en-GB.tpl_ats-solidarity.ini

admin/fr-FR.tpl_ats-solidarity.ini

3.3 Modify File : templateDetails.xml
Code:
<languages>
   <language tag="en-GB">en-GB.tpl_ats-solidarity.ini</language>
   <language tag="fr-FR">fr-FR.tpl_ats-solidarity.ini</language>
</languages>
<administration>
<languages folder="admin">
   <language tag="en-GB">en-GB.tpl_ats-solidarity.ini</language>
   <language tag="fr-FR">fr-FR.tpl_ats-solidarity.ini</language>
</languages>
</administration>

.../...


Vincent

_________________
http://www.latitude-21.fr
Web Master of an interdependent association tourism


Top
   
 
Posted: Fri Sep 14, 2007 9:37 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat Oct 14, 2006 8:59 am
Posts: 206
Location: Gloucestershire, UK
That did it!  Many thanks Vincent!

_________________
ToolboxCreations - Joomla! website & custom template services


Top
  E-mail  
 
Posted: Sat Sep 15, 2007 6:57 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Sep 09, 2007 5:25 pm
Posts: 19
Location: BEAUVAIS ( FRANCE )
You can see the demo at :
Demo of the Template ats_solidarity

I set language default = fr-Fr so at the top of the template you can see "Template ats-solidarity pour Joomla 1.5"
pic1 and pic2 come from backend parameters


And you can download the template ( version = 1.0.4 ) at :
http://tourisme.solidaire.free.fr/Version 1.0.4 ats_solidarity.zip
Vincent


You do not have the required permissions to view the files attached to this post.

_________________
http://www.latitude-21.fr
Web Master of an interdependent association tourism


Last edited by tourisme.solidaire on Sat Sep 15, 2007 7:07 pm, edited 1 time in total.

Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2

Quick reply

 



Who is online

Users browsing this forum: dsuvankar, EerieNim, harelgoldstein, kannansreenivas, kitomi, leo_khan, musmiris, pikki nikki, png1992, romero06 and 38 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group