The Joomla! Forum ™






Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Sep 30, 2008 10:41 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sun Feb 18, 2007 6:40 pm
Posts: 994
Location: Constantine, Algeria
ok i have make new pack for arabic-algeria language with install for both site+admin in one pack, and i add font for arabic users (thanks to Simonet for info), but I am confused with this file.

The install process is fine
- add 3 fonts files to Joomla_root/language/pdf_fonts/

but here the install make new DIR pdf_fonts and add same fonts files to
Joomla_root/administrator/language/pdf_fonts/

in this DIR pdf_fonts no index.html

i need your help to make install font for Joomla_root/language/pdf_fonts/ only

see screenshot for my install.xml and Directory structure and also the complet file attached

Image

Image


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

_________________
Saber Bousba - صابر بوصبع
Member of the Arabic [ar-DZ] Joomla Translation Team :  http://joomlacode.org/gf/project/ardz/


Top
 Profile  
 
PostPosted: Wed Oct 01, 2008 9:21 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 16668
Location: **Translation Matters**
I confirm the bug.

I solved this by modifying the file
/libraries/joomla/installer/adapters/language.php

changing the line 180 from
Code:
$this->parent->setPath('extension_site', $basePath.DS."language".DS.'pdf_fonts');

to
Code:
$this->parent->setPath('extension_site', JPATH_SITE.DS."language".DS.'pdf_fonts');


I will create an artifact.

http://joomlacode.org/gf/project/joomla ... m_id=13017

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Wed Oct 01, 2008 10:04 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sun Feb 18, 2007 6:40 pm
Posts: 994
Location: Constantine, Algeria
thanks you Simonet for your info

_________________
Saber Bousba - صابر بوصبع
Member of the Arabic [ar-DZ] Joomla Translation Team :  http://joomlacode.org/gf/project/ardz/


Top
 Profile  
 
PostPosted: Sat Nov 01, 2008 7:59 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sun Feb 18, 2007 6:40 pm
Posts: 994
Location: Constantine, Algeria
Solved Fixed in SVN.
Thanks.

_________________
Saber Bousba - صابر بوصبع
Member of the Arabic [ar-DZ] Joomla Translation Team :  http://joomlacode.org/gf/project/ardz/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 



Who is online

Users browsing this forum: No registered users and 97 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® Forum Software © phpBB Group