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.
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
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
Joined: Sun Sep 09, 2007 5:25 pm Posts: 19 Location: BEAUVAIS ( FRANCE )
It'no easy
(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
(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 "
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.
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.
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
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
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?
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).
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
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.
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
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
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
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
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
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
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
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
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