Group Invitation Download 1.1

Indonesian Arsalan Shah 6 years ago

Invite your friends into the group.

Invite
Notification

1.1
- Added ossnaddhook('notification:participants', 'groupinvite'... false) ... to avoid sending notification to other users.

Comments
Breton Gennaro Vela Replied 5 years ago

Very good, i could see the support for languages ​​in Portuguese appears like this

groupinvite:widget:title

German Michael Zülsdorff Replied 5 years ago

Most likely you didn't disable cache before you applied your translation.

During normal operation (= cache ENABLED) all localization arrays will be cached, too. Thus, if you want to apply any changes, cache needs to be DISABLED first.

German Hamble Bamble Replied 5 years ago

I tried to create a german language-file (ossn.de.php)

<?php
/**
* Open Source Social Network
*
* @packageOpen Source Social Network
* @author Open Social Website Core Team <[email protected]>
* @copyright (C) SOFTLAB24 LIMITED
* @license OSSN License https://www.opensource-socialnetwork.org/licence
* @link http://www.opensource-socialnetwork.org/licence
*/
$de = array(
'groupinvite:widget:title' => 'Freunde einladen',
'groupinvite:widget:desc' => 'Wähle deine Freunde aus!',
'groupinvite:invite' => 'Einladen',
'groupinvite:sent' => 'Die Einladung wurde verschickt.',
'ossn:notifications:groupinvite' => '%s hat dich eingeladen, der Gruppe <strong>%s</strong> beizutreten.',
);
ossn_register_languages('de', $de);

The result is : groupinvite:widget:title displayed instead the translation. What do I wrong??

ge John johnny Replied 6 years ago

Thats great!

Component

Developer: Arsalan
License ossnv3
Type: Themes
Requires Ossn Version : 5.0
Latest Version: 1.1
Last Updated 4 years ago
Repository Url View Repository

Versions