Ok, I'll try to do it for Spanish and Catalan. greetings
-dvdgmz 2009/2/19 Yaron Koren <[email protected]>: > The separate language files are only for defining the special properties > (Has default form, Has alternate form) and namespaces (Form, Form talk) of > SF - all other language values are defined in the single "messages" file, > which is handled by Betawiki. If you want a translation of these into > Spanish (or any other not-yet-supported language), you can just create a > translated version of "SF_LanguageEn.php" and send it to me; I'll add it in. > > -Yaron > > > On Thu, Feb 19, 2009 at 9:37 AM, David Gómez <[email protected]> wrote: >> >> Ah, ok, thanks. >> >> I have added the following inside SF_GlobalFunctions.php: >> >> // fallback if language not supported >> if ( !class_exists($cont_lang_class)) { >> include_once($sfgIP . '/languages/SF_LanguageEn.php'); >> //fix feb-2009 >> $cont_lang_class = 'SF_LanguageEn'; >> } >> >> And now the wiki is working. >> >> But... Why Spanish doesn't have its own language file? >> It's necessary this file for every language? >> Is there something I can do? >> >> >> - dvdgmz. >> >> >> >> >> 2009/2/19 Yaron Koren <[email protected]>: >> > Oh, that's pretty bad. I see the problem - it was accidentally >> > introduced in >> > the last version; it shows up for wikis in a language that doesn't have >> > its >> > own language file, like Spanish. I'll fix it, but you can fix it on your >> > side already by adding in the following line above the line that's >> > giving >> > the error: >> > >> > include_once($sfgIP . '/languages/SF_LanguageEn.php'); >> > >> > -Yaron >> > >> > >> > On Thu, Feb 19, 2009 at 8:05 AM, David Gómez <[email protected]> wrote: >> >> >> >> Hi, after upgrading to... >> >> >> >> MW 1.13.4 >> >> SMW 1.4.2 >> >> SF 1.5.1 >> >> >> >> my wiki crashes as you can see... >> >> http://multimedia.uoc.edu/~grf >> >> >> >> without SF it works fine >> >> >> >> ...but with SF it says: >> >> Fatal error: Class 'SF_LanguageEn' not found in >> >> /home/.../extensions/SemanticForms/includes/SF_GlobalFunctions.php on >> >> line 172 >> >> >> >> whats the matter? >> >> >> >> any idea? >> >> >> >> thanks. >> >> >> >> - dvdgmz. >> >> >> >> >> > >> > >> > > >> > >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Semantic Forms" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/semantic-forms?hl=en -~----------~----~----~----~------~----~------~--~---
