Problems with language plugin

15 years 1 month ago #90175 by mark84
Problems with language plugin was created by mark84
Hi

I am trying to set up a language file for the welsh language. After spending quite some time translating strings in the welsh.php and welsh.xml files - following all instruction in the guide, I uploaded the plugin in the cb plugin installer and it showed a success message.

However, when I try to view things frontend it works fine for the English language but I get a blank screen when I select the Welsh language.

I am using Joomfish and the language is selected using the joomfish mod.

I've tried downloading a fresh translation folder and only changed the relevant language setting up the top to Welsh - no translation strings.

An unchanged folder also does the same - blank screen. What am I doing wrong :( ?

Thanks

Please Log in to join the conversation.

15 years 1 month ago #90176 by mark84
Replied by mark84 on topic Re:Problems with language plugin
This is the xml file:
[code:1]<?xml version="1.0" encoding="utf-8"?>
<cbinstall version="1.0" type="plugin" group="language">
<name>Welsh</name>
<author>Mark Thomas</author>
<creationDate>2009-02-22</creationDate>
<copyright>(C) 2008 - 2009 tech-gwyb.co.uk</copyright>
<license>www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL version 2
<authorEmail>gweinyddwr@tech-gwyb.co.uk
<authorUrl>www.tech-gwyb.co.uk
<version>1.2</version>
<description>Provides the Welsh language for Community Builder core functions.</description>
<files>
<filename plugin="Welsh">Welsh.php</filename>
<filename>index.html</filename>
<filename>cbteamplugins_language.php</filename>
<filename>calendar-locals.js</filename>
<filename>images/index.html</filename>
<filename>images/nophoto.jpg</filename>
<filename>images/pendphoto.jpg</filename>
<filename>images/tnnophoto.jpg</filename>
<filename>images/tnpendphoto.jpg</filename>
</files>
<params>
</params>
<database>
</database>
</cbinstall>[/code:1]

And this is the xml welsh language file that I created before installing cb.

[code:1]<?xml version="1.0" encoding="utf-8"?>
<metafile version="1.5" client="site" >
<tag>cy-GB</tag>
<name>Cymraeg (Welsh)</name>
<description>Standard Welsh Translation. Cyfieithiad Cymraeg Safonol.</description>
<version>1.5</version>
<creationdate>May 2007</creationdate>
<author>Ifan Evans</author>
<authorurl></authorurl>
<authoremail>post@ffenest.co.uk
<copyright>(C) 2007 Ifan Evans. All rights reserved.</copyright>
<license>www.gnu.org/copyleft/gpl.html GNU/GPL
<metadata>
<name>Cymraeg (Welsh)</name>
<tag>cy-GB</tag>
<rtl>0</rtl>
<locale>cy_GB.utf-8, cy_GB.utf8, cy_GB, cym_GB, cy, cym, cymraeg, cymru, welsh, wales</locale>
<wincodepage>iso-8859-1</wincodepage>
<backwardlang>welsh</backwardlang>
<pdffontname>vera</pdffontname>
</metadata>
<params></params>
</metafile>
[/code:1]

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.155 seconds

Facebook Twitter LinkedIn