Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 11:40 am (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 1, 2  Next
Author Message
Posted: Sun Sep 09, 2007 5:38 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Sep 09, 2007 5:25 pm
Posts: 19
Location: BEAUVAIS ( FRANCE )
(1)We have used the template rhuk_milkyway and we rewrite some files (ex:templateDetails.xml) because we haved mistakes when we install ou uninstall this template.
(2)The template ats-solidarity have a new parameter.You can choose the type of your logo.(.png or .gif)
(3)This template is OK with Opera,I.E.,Firefox.

You can download the template at :
http://tourisme.solidaire.free.fr/ats_solidarity.zip

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


Last edited by tourisme.solidaire on Sun Sep 09, 2007 7:00 pm, edited 1 time in total.

Top
   
 
Posted: Sun Sep 09, 2007 5:58 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat Oct 14, 2006 8:59 am
Posts: 206
Location: Gloucestershire, UK
Do you have a live demo available?

_________________
ToolboxCreations - Joomla! website & custom template services


Top
  E-mail  
 
Posted: Sun Sep 09, 2007 6:19 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Sep 09, 2007 5:25 pm
Posts: 19
Location: BEAUVAIS ( FRANCE )
Dan L wrote:
Do you have a live demo available?

No I'm sorry you can download the ats-solidarity.zip and use it on your local machine.

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


Top
   
 
Posted: Sun Sep 09, 2007 7:02 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11695
Location: **Translation Matters**
Not very different from milkyway.
You forgot the language files.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Sun Sep 09, 2007 7:14 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Sep 09, 2007 5:25 pm
Posts: 19
Location: BEAUVAIS ( FRANCE )
It's right.Where can I create a language file for my template?....
I don't find language file in /templates/beez/ or /templates/rhuk_milkyway
Thanks

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


Top
   
 
Posted: Sun Sep 09, 2007 7:31 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11695
Location: **Translation Matters**
code in beez templateDetails.xml
We implemented just before RC2.
Quote:

en-GB.tpl_beez.ini


   
en-GB.tpl_beez.ini

   


first is for a site language in root/languages/enGB/
second is for admin in administrator/languages/en-GB/

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Sun Sep 09, 2007 8:21 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Sep 09, 2007 5:25 pm
Posts: 19
Location: BEAUVAIS ( FRANCE )
It'no easy  :D

(1)I create 2 folders and 2 files in my template ( copy of en-GB.tpl_rhuk_milkyway.ini )
ats_solidarity/languages/fronted/en-GB.tpl_ats-solidarity.ini
ats_solidarity/languages/bachend/en-GB.tpl_ats-solidarity.ini

(2)I update templateDetails.xml

languages/fronted/en-GB.tpl_ats-solidarity.ini



languages/backend/en-GB.tpl_ats-solidarity.ini



(3) after zip when I want to unstall the template I have a mistake
"JInstaller::install: Le fichier 'C:\wamp\www\010_Joomla_1_5_RC2_Fr\tmp\install_46e4558b487ac\ats_solidarity\admin\languages\backend\en-GB.tpl_ats-solidarity.ini' n'existe pas "

(4)I put on site the new version 1.1
You can download the template at :
http://tourisme.solidaire.free.fr/ats_solidarity.zip

Thanks for your help  ;D

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


Last edited by tourisme.solidaire on Sun Sep 09, 2007 8:24 pm, edited 1 time in total.

Top
   
 
Posted: Sun Sep 09, 2007 11:50 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Jun 15, 2007 8:07 am
Posts: 112
I'll have to give it a try when I'm free. I have nearly finished mine so soon I'll also be posting, just need to finish converting my site to other colours and also create a language file.

_________________
http://www.speedingpc.com – Repair/speed up/secure/save space/pimp your computer


Top
   
 
Posted: Sun Sep 09, 2007 11:54 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Oct 11, 2006 5:52 pm
Posts: 35
just a quick question...

can we take a pre-existing template and change it a bit ??? and then enter it into the contest cause i thought it had to be our original work


Last edited by NixieAnne on Sun Sep 09, 2007 11:59 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Mon Sep 10, 2007 4:48 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11695
Location: **Translation Matters**
Correction:
The site ini file have to be placed at the same level as templateDetails.xml in your package when you compress it...
The admin ini file should be placed in a folder called "admin" at the same level as templateDetails.xml
The ini files will be moved to the right folder at time of install.
You do not need the site part for milkyway as there are no strings in index.php
In beez, the strings are present.
Ex:

tourisme.solidaire wrote:

(1)I create 2 folders and 2 files in my template ( copy of en-GB.tpl_rhuk_milkyway.ini )
en-GB.tpl_ats-solidarity.ini
en-GB.tpl_ats-solidarity.ini

(2)I update templateDetails.xml
//useless in milkyway
languages/fronted/en-GB.tpl_ats-solidarity.ini//useless in milkyway
//useless in milkyway



languages/backend/en-GB.tpl_ats-solidarity.ini




NixieAnne wrote:
just a quick question...

can we take a pre-existing template and change it a bit ??? and then enter it into the contest cause i thought it had to be our original work


You are right. Entering an existing slightly modified template as the one posted here by tourisme-solidaire is useless in this contest.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Last edited by infograf768 on Thu Sep 13, 2007 6:07 am, edited 1 time in total.

Top
  E-mail  
 
Posted: Mon Sep 10, 2007 6:11 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat Oct 14, 2006 8:59 am
Posts: 206
Location: Gloucestershire, UK
Indeed, as per third rule on the list:

Quote:
Templates must be an original work of the person making the design entry.

_________________
ToolboxCreations - Joomla! website & custom template services


Top
  E-mail  
 
Posted: Mon Sep 10, 2007 12:30 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Mon Sep 05, 2005 11:58 am
Posts: 131
Location: Norway
Could someone willingly host a demo?


Top
  E-mail  
 
Posted: Mon Sep 10, 2007 3:05 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Sep 09, 2007 5:25 pm
Posts: 19
Location: BEAUVAIS ( FRANCE )
Hello,
I started to integrate two languages in the template.(English & French)
so you can find news files.ini
  • en-GB.tpl_ats-solidarity.ini
  • fr-FR.tpl_ats-solidarity.ini

Install and Uninstall are OK
But I dont' understand...When I connect myself in French descriptions remain in English


I hope that my questions will help the community and particularly the new ones (with the assistance of old  :D )


You can download the template ( version = 1.0.1 ) at :

http://tourisme.solidaire.free.fr/Version 1.0.1 ats_solidarity.zip

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


Top
   
 
Posted: Mon Sep 10, 2007 3:08 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Oct 11, 2006 5:52 pm
Posts: 35
i was just asking cause he said
tourisme.solidaire wrote:
(1)We have used the template rhuk_milkyway


Top
  E-mail  
 
Posted: Mon Sep 10, 2007 5:06 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11695
Location: **Translation Matters**
tourisme.solidaire wrote:
Hello,
I started to integrate two languages in the template.(English & French)
so you can find news files.ini
  • en-GB.tpl_ats-solidarity.ini
  • fr-FR.tpl_ats-solidarity.ini

Install and Uninstall are OK
But I dont' understand...When I connect myself in French descriptions remain in English


I hope that my questions will help the community and particularly the new ones (with the assistance of old  :D )


You can download the template ( version = 1.0.1 ) at :

http://tourisme.solidaire.free.fr/Version 1.0.1 ats_solidarity.zip

Hmm...
Il vous faut choisir entre ats-solidarity et ats_solidarity...
Le dossier du template s'appelle ats_solidarity ainsi que le nom dans TemplateDetails.xml, tandis que vos fichiers ini s'appellent ats-solidarity. (J'ai mis un temps fou à trouver le truc)
Sorry, was in French..
Be carefull to use for ini files the same name as the one used for the template folder as well as the "name" in the templateDetails.xml

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Mon Sep 10, 2007 5:09 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11695
Location: **Translation Matters**
Sorry guys, but this post does not belong here but rather in 1.5 templates forum.
This forum is reserved to post "finished" custom templates for the contest.  ;)

Moving now.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Mon Sep 10, 2007 10:32 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Nov 22, 2006 9:07 am
Posts: 345
Location: UK
Not too sure how to get this language stuff sorted. I have en-GB.tpl_template_name.ini in my template root. However, comparing with the one for milkyway, confusion sets in with the references. What exactly are you suppose to pick up in the .ini file?


Top
  E-mail  
 
Posted: Mon Sep 10, 2007 10:45 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat Oct 14, 2006 8:59 am
Posts: 206
Location: Gloucestershire, UK
I'd like to know this too; if you only have English language, is it even required?  Seems a little pointless just having an empty .ini (like in MilkyWay).

_________________
ToolboxCreations - Joomla! website & custom template services


Top
  E-mail  
 
Posted: Tue Sep 11, 2007 7:08 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11695
Location: **Translation Matters**
If one's template does not need front-end language, no use indeed to provide an ini.
Admin language file is always necessary as Name and Description fields are translatable, even if no params.
Milkyway only needs the admin language file as of now.
(TemplateDetails.xml for milkyway is not updated to show the admin ini file)
Beez only the frontend language file as of now. (Used to need an admin too, not updated)

It is NEVER English only...
Users from any country in the world may choose to translate the ini files to their language, which is real easy in 1.5.
Don't you want to achieve this?

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Tue Sep 11, 2007 7:21 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat Oct 14, 2006 8:59 am
Posts: 206
Location: Gloucestershire, UK
Yes of course...I wasn't implying that other languages are not important, merely that it struck me as an unnecessary requirement if you are including a language file if there are no other translations apart from English.

So...I *need* to have a admin ini file (even if it is blank - apart from the header info), but the front-end ini can be omitted from the package and the templatedetails.xml...is that correct?

Is there some documentation available for this?  I tried looking but didn't find anything useful.

Thanks for the help...

_________________
ToolboxCreations - Joomla! website & custom template services


Top
  E-mail  
 
Posted: Tue Sep 11, 2007 8:02 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Nov 22, 2006 9:07 am
Posts: 345
Location: UK
Is there a way to distinguish between the admin and frontend language files or do you incorporate them as one, single .ini file. I only ask as Milkyway has 2 different language files, an "empty" /languages one but a full "/administrator/languages" version.

As for what you need to put in, I noticed in Milkyway "COLOR VARIATION = Color Variation" which is easy enough. But what is it actually loading for, the label="" and/or description="" in the templateDetails.xml file.

All I want to know really is what parts of the .xml need to have translation  :)

Cheers for your response :)


Top
  E-mail  
 
Posted: Tue Sep 11, 2007 8:44 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Jun 15, 2007 8:07 am
Posts: 112
I have my language file setup as one, was easier that way. I got everything working right, but it did take me a while.

_________________
http://www.speedingpc.com – Repair/speed up/secure/save space/pimp your computer


Top
   
 
Posted: Tue Sep 11, 2007 12:39 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Sep 09, 2007 5:25 pm
Posts: 19
Location: BEAUVAIS ( FRANCE )
The backend part in English or French is OK !...

Next stages:
- Use multi language in the Fronted part
- Add a Read-Me.txt

You can download the template ( version = 1.0.2 ) at :

http://tourisme.solidaire.free.fr/Version 1.0.2 ats_solidarity.zip

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


Top
   
 
Posted: Tue Sep 11, 2007 1:21 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11695
Location: **Translation Matters**
Dan L wrote:
Yes of course...I wasn't implying that other languages are not important, merely that it struck me as an unnecessary requirement if you are including a language file if there are no other translations apart from English.

So...I *need* to have a admin ini file (even if it is blank - apart from the header info), but the front-end ini can be omitted from the package and the templatedetails.xml...is that correct?

Is there some documentation available for this?  I tried looking but didn't find anything useful.

Thanks for the help...


Hmmm... the admin ini file shall always exist and contain at least 2 strings, as I stated above.
Look at templateDetails.xml for milkyway
Quote:


rhuk_milkyway
1.0.2
11/20/06
Andy Miller
rhuk@rockettheme.com.com
http://www.rockettheme.com

GNU/GPL
TPL_RHUK_MILKYWAY


These strings (bold and red above) can be found in root/administrator/language/en-GB/en-GB.tpl_rhuk_milkyway.ini (among other strings used for parameters)
RHUK_MILKYWAY=RHUK Milkyway template
TPL_RHUK_MILKYWAY=MilkyWay is a fresh new template for Joomla! The clean design of this template makes it very lightweight and fast.
MuffinDCC wrote:
Is there a way to distinguish between the admin and frontend language files or do you incorporate them as one, single .ini file. I only ask as Milkyway has 2 different language files, an "empty" /languages one but a full "/administrator/languages" version.

As for what you need to put in, I noticed in Milkyway "COLOR VARIATION = Color Variation" which is easy enough. But what is it actually loading for, the label="" and/or description="" in the templateDetails.xml file.

All I want to know really is what parts of the .xml need to have translation  :)

Cheers for your response :)

An easy way to figure it is to set in configuration the debug language to Yes in the System tab.
if •text•, it is a string and it is present in the ini file.
if ??text??, it is a string and it is absent from the ini file

Language debugging also shows in details at bottom of page the untranslated strings.
Basically, in milkyway, apart from the name and description as shown above, you also get (Bold by me)
label="Color Variation"
description="Color variation to use">

and this for every parameter starting with the tag

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Tue Sep 11, 2007 1:24 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11695
Location: **Translation Matters**
zammbi wrote:
I have my language file setup as one, was easier that way. I got everything working right, but it did take me a while.

Do you mean you have strings in the template itself (front-end) and as parameters/name/description when editing the template in admin and that these strings are all present in only ONE file?
Curious to see how you managed that...

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Tue Sep 11, 2007 2:36 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Jun 15, 2007 8:07 am
Posts: 112
Hm? I added both backend and frontend strings in the same language file, it handled just fine.

_________________
http://www.speedingpc.com – Repair/speed up/secure/save space/pimp your computer


Top
   
 
Posted: Tue Sep 11, 2007 3:25 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11695
Location: **Translation Matters**
zammbi wrote:
Hm? I added both backend and frontend strings in the same language file, it handled just fine.


Put debugging on as explained above and you will see it does not work this way.

Another way for you to test is to install another language and change the strings to whatever in your template ini file.
What it will load in back-end are the strings AS THEY ARE in your template.xml if you saved the ini as site language ini, and, in frontend the strings AS THEY ARE in your index.php if you saved the ini in your administrator language folder.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Tue Sep 11, 2007 3:32 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Jun 15, 2007 8:07 am
Posts: 112
I've had debug on. It was working fine, though I haven't testing another language with the English one but I'll slit them up if your meant too.

_________________
http://www.speedingpc.com – Repair/speed up/secure/save space/pimp your computer


Top
   
 
Posted: Wed Sep 12, 2007 2:43 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Sep 09, 2007 5:25 pm
Posts: 19
Location: BEAUVAIS ( FRANCE )
(1) The backend and the Fonted parts in English and French are OK !...
(2) I have begin to write the readme.txt you can find it in the zip file


Next stages:
- Build an animated logo Joomla to replace my logo test  :)


You can download the template ( version = 1.0.3 ) at :
http://tourisme.solidaire.free.fr/Version 1.0.3 ats_solidarity.zip

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


Top
   
 
Posted: Thu Sep 13, 2007 1:55 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Nov 22, 2006 9:07 am
Posts: 345
Location: UK
Thank you very much, this was extremely helpful in getting my head around this :D

infograf768 wrote:
Dan L wrote:
Yes of course...I wasn't implying that other languages are not important, merely that it struck me as an unnecessary requirement if you are including a language file if there are no other translations apart from English.

So...I *need* to have a admin ini file (even if it is blank - apart from the header info), but the front-end ini can be omitted from the package and the templatedetails.xml...is that correct?

Is there some documentation available for this?  I tried looking but didn't find anything useful.

Thanks for the help...


Hmmm... the admin ini file shall always exist and contain at least 2 strings, as I stated above.
Look at templateDetails.xml for milkyway
Quote:


rhuk_milkyway
1.0.2
11/20/06
Andy Miller
rhuk@rockettheme.com.com
http://www.rockettheme.com

GNU/GPL
TPL_RHUK_MILKYWAY


These strings (bold and red above) can be found in root/administrator/language/en-GB/en-GB.tpl_rhuk_milkyway.ini (among other strings used for parameters)
RHUK_MILKYWAY=RHUK Milkyway template
TPL_RHUK_MILKYWAY=MilkyWay is a fresh new template for Joomla! The clean design of this template makes it very lightweight and fast.
MuffinDCC wrote:
Is there a way to distinguish between the admin and frontend language files or do you incorporate them as one, single .ini file. I only ask as Milkyway has 2 different language files, an "empty" /languages one but a full "/administrator/languages" version.

As for what you need to put in, I noticed in Milkyway "COLOR VARIATION = Color Variation" which is easy enough. But what is it actually loading for, the label="" and/or description="" in the templateDetails.xml file.

All I want to know really is what parts of the .xml need to have translation  :)

Cheers for your response :)

An easy way to figure it is to set in configuration the debug language to Yes in the System tab.
if •text•, it is a string and it is present in the ini file.
if ??text??, it is a string and it is absent from the ini file

Language debugging also shows in details at bottom of page the untranslated strings.
Basically, in milkyway, apart from the name and description as shown above, you also get (Bold by me)
label="Color Variation"
description="Color variation to use">

and this for every parameter starting with the tag





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

Quick reply

 



Who is online

Users browsing this forum: Ask Jeeves [Bot], cristo_haris, fresheris and 33 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