Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Multi-lingual support for extensions
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 26 - 36 of 36 - Collapse all  -  Translate all to Translated (View all originals) < Older 
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ove  
View profile  
 More options Jul 24 2012, 2:31 pm
From: Ove <tobby.eriks...@gmail.com>
Date: Tue, 24 Jul 2012 20:31:16 +0200
Local: Tues, Jul 24 2012 2:31 pm
Subject: Re: [jgen] Multi-lingual support for extensions
A weird idea (Joomla 1.6+),
wouldn't it be possible to use JText::_($mystring) or a derivate and
then use the Joomla language overrides for the translations?
The user then only has to know how to add an override for his string

Ove

Sam Moffatt skrev 24.07.2012 18:02:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nick Savov  
View profile   Translate to Translated (View Original)
 More options Jul 24 2012, 8:10 pm
From: "Nick Savov" <n...@iowawebcompany.com>
Date: Tue, 24 Jul 2012 19:10:03 -0500
Local: Tues, Jul 24 2012 8:10 pm
Subject: Re: [jgen] Multi-lingual support for extensions

It's possible.

To this email, I'm attaching a zipped file of the admin languages view for
OSDownloads
(http://extensions.joomla.org/extensions/directory-a-documentation/dow...)
which has this feature.

Hope this helps!

You can see a demo of the feature in action at
http://joomla.ostraining.net/administrator/index.php?option=com_osdow...
using the username "demo" and password "demo".

I'd like to see this added to the Joomla core as an option for developers
to use, so please submit it as a feature for Joomla 3.0 if you decide to
use it.  That will save you from having to maintain the code for all your
extensions and will also add a very worth-while contribution to the Joomla
Community.

Kind regards,
Nick

p.s. Another extension that does this is Documents Seller:
http://extensions.joomla.org/extensions/e-commerce/paid-downloads/5000

  languages_view_for_OSDownloads.zip
3K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Joomla GPL Extensions and Removal of Backlinks" by elin
elin  
View profile  
 More options Jul 24 2012, 8:52 pm
From: elin <elin.war...@gmail.com>
Date: Tue, 24 Jul 2012 17:52:19 -0700 (PDT)
Local: Tues, Jul 24 2012 8:52 pm
Subject: Re: [jgen] Joomla GPL Extensions and Removal of Backlinks

I wasn't going to post in this thread but since it won't die. ..

If you read the GPL and particularly GPL3 it says that "appropriate legal
notices" may not be removed or added without the permission of the original
copyright holder. The Joomla project displays the GPL as part of the
installation procedure for the Joomla CMS. That means You may not remove
that display even if you fork Joomla and distribute it as a GPL application
under your own name unless you get specific permission to do so from OSM.
You also may not add new notices without specific permission to do so and
you may not mandate that others include such notices. The Joomla project
has always taken the position that after installation the GPL information
only has to be retained in the source code of each individual file, not
visibly in the application and therefore no matter what an extension
developer does those are the rules that apply unless a specific exception
is granted.

Elin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Multi-lingual support for extensions" by JM Simonet
JM Simonet  
View profile   Translate to Translated (View Original)
 More options Jul 25 2012, 4:19 am
From: JM Simonet <infograf...@gmail.com>
Date: Wed, 25 Jul 2012 10:19:26 +0200
Local: Wed, Jul 25 2012 4:19 am
Subject: Re: [jgen] Multi-lingual support for extensions

In this specific case, we get into an issue with
plurals depending on languages.
I.e. as you should use
  JText::plural('MY_CONSTANT_WHATEVER', $myvariable)
The strings constants may differ depending on languages.

--------------English
public static function getPluralSuffixes($count) {
                if ($count == 0) {
                        $return =  array('0');
                }
                elseif($count == 1) {
                        $return =  array('1');
                }
                else {
                        $return = array('MORE');
                }
                return $return;
        }
will need 3 constants
COM_BANNERS_BANNERS_N_ITEMS_CHECKED_IN_0="No banner successfully checked in"
COM_BANNERS_BANNERS_N_ITEMS_CHECKED_IN_1="%d banner successfully checked in"
COM_BANNERS_BANNERS_N_ITEMS_CHECKED_IN_MORE="%d
banners successfully checked in"

------------------Scottish
public static function getPluralSuffixes($count) {
                if ($count == 0 || $count > 19) {
             $return =  array('0');
         }
         elseif($count == 1 || $count == 11) {
                $return =  array('1');
         }
         elseif($count == 2 || $count == 12) {
                $return =  array('2');
            }
            elseif(($count > 2 && $count < 12) ||
($count > 12 && $count < 19)) {
                 $return =  array('FEW');
                }
                return $return;

will need 4 constants with different suffixes
COM_BANNERS_BANNERS_N_ITEMS_CHECKED_IN_0
COM_BANNERS_BANNERS_N_ITEMS_CHECKED_IN_1
COM_BANNERS_BANNERS_N_ITEMS_CHECKED_IN_2
COM_BANNERS_BANNERS_N_ITEMS_CHECKED_IN_FEW

Hope it helps.

JM

--
>Please keep the Subject wording in your answers

This e-mail and any attachments may be
confidential. You must not disclose or use the
information contained in this e-mail if you are
not the
intended recipient. If you have received this
e-mail in error, please notify us immediately and
delete the e-mail and all copies.
-----------------------------------------------------------
Jean-Marie Simonet  /  infograf768
Joomla Production Working group
Joomla! Translation Coordination Team

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
shumisha  
View profile  
 More options Jul 25 2012, 12:28 pm
From: shumisha <shumi...@gmail.com>
Date: Wed, 25 Jul 2012 09:28:21 -0700 (PDT)
Local: Wed, Jul 25 2012 12:28 pm
Subject: Re: [jgen] Multi-lingual support for extensions

Hi

@parvus, Imanol, Sam Moffat and Jean-Marie: this thread is about GPL and
backlink removal. Please create a new thread for your discussion about
multilingual support for extensions here. Thanks.

@Thomas Papin: please read the complete GPL license. Forbidding removal of
copyright notices in the output of the program, as mentionned previously by
Elin and Myself is done in paragraph 2.c of GPL version 2 and paragraph 5.d
of GPL version 3.

Simply put: you cannot remove a copyright notice if there is already one,
unless you have agreement from previous copyright owner(s) - with an s: if
there are several copyright owners, you need approval from those owners you
want to remove the copyright notice in the program visible output.

Contrary to Elin however, I don't read in that paragraph that you are not
allowed to add your own notices. The actual text in version 2 is:

*c) If the modified program normally reads commands interactively when run,
you must cause it, when started running for such interactive use in the
most ordinary way, to print or display an announcement including an
appropriate copyright notice and a notice that there is no warranty (or
else, saying that you provide a warranty) and that users may redistribute
the program under these conditions, and telling the user how to view a copy
of this License. (Exception: if the Program itself is interactive but does
not normally print such an announcement, your work based on the Program is
not required to print an announcement.) *

Rgds


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
parvus  
View profile  
 More options Jul 25 2012, 4:58 pm
From: parvus <par...@operamail.com>
Date: Wed, 25 Jul 2012 22:58:12 +0200
Local: Wed, Jul 25 2012 4:58 pm
Subject: Re: [jgen] Multi-lingual support for extensions
Thank you Nick, Ove, Jm, all.

@Jm Yes, this is indeed a concern, especially since sprintf is used, and  
not something like '{0}'.format() from Python or String.Format from C# or  
..

For me personally, Ove's suggestion looks very simple, and suitable for my  
content plugin (it already contains enough code as it is now...). I think  
I'll follow that path.

Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elin  
View profile  
 More options Jul 25 2012, 6:44 pm
From: elin <elin.war...@gmail.com>
Date: Wed, 25 Jul 2012 15:44:39 -0700 (PDT)
Local: Wed, Jul 25 2012 6:44 pm
Subject: Re: [jgen] Multi-lingual support for extensions

Version 3:

7. Additional Terms.

“Additional permissions” are terms that supplement the terms of this
License by making exceptions from one or more of its conditions. Additional
permissions that are applicable to the entire Program shall be treated as
though they were included in this License, to the extent that they are
valid under applicable law. If additional permissions apply only to part of
the Program, that part may be used separately under those permissions, but
the entire Program remains governed by this License without regard to the
additional permissions.

When you convey a copy of a covered work, you may at your option remove any
additional permissions from that copy, or from any part of it. (Additional
permissions may be written to require their own removal in certain cases
when you modify the work.) You may place additional permissions on
material, added by you to a covered work, for which you have or can give
appropriate copyright permission.

Notwithstanding any other provision of this License, for material you add
to a covered work, you may (if authorized by the copyright holders of that
material) supplement the terms of this License with terms:

   - a) Disclaiming warranty or limiting liability differently from the
   terms of sections 15 and 16 of this License; or
   - b) Requiring preservation of specified reasonable legal notices or
   author attributions in that material or in the Appropriate Legal Notices
   displayed by works containing it; or
   - c) Prohibiting misrepresentation of the origin of that material, or
   requiring that modified versions of such material be marked in reasonable
   ways as different from the original version; or
   - d) Limiting the use for publicity purposes of names of licensors or
   authors of the material; or
   - e) Declining to grant rights under trademark law for use of some trade
   names, trademarks, or service marks; or
   - f) Requiring indemnification of licensors and authors of that material
   by anyone who conveys the material (or modified versions of it) with
   contractual assumptions of liability to the recipient, for any liability
   that these contractual assumptions directly impose on those licensors and
   authors.

All other non-permissive additional terms are considered “further
restrictions” within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further restriction,
you may remove that term. If a license document contains a further
restriction but permits relicensing or conveying under this License, you
may add to a covered work material governed by the terms of that license
document, provided that the further restriction does not survive such
relicensing or conveying.

If you add terms to a covered work in accord with this section, you must
place, in the relevant source files, a statement of the additional terms
that apply to those files, or a notice indicating where to find the
applicable terms.

Additional terms, permissive or non-permissive, may be stated in the form
of a separately written license, or stated as exceptions; the above
requirements apply either way.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Valandis  
View profile  
 More options Jul 26 2012, 2:50 am
From: Valandis <valandi...@gmail.com>
Date: Wed, 25 Jul 2012 23:50:42 -0700 (PDT)
Local: Thurs, Jul 26 2012 2:50 am
Subject: Re: [jgen] Multi-lingual support for extensions

+1 for the creation of another thread regarding "multilingual support for
extensions". I tried to explain to parvus and Nick Savov before, but they
misunderstood me I suppose.

As it regards the topic I started a while ago, I see there isn't a solid
answer to my first question. I see people understand the GPL differently
than others. I myself, see it as Elin does and Thomas does. I believe only
copyright notices that are found inside the source should be kept intact,
but not visible ones.

Read what Matt Lipscomb posted up there and I find it absolutely correct:

> 2)  All backlinks may be removed from an extension - that's the point of
> opensource software - you can modify it however you like.  The copyright
> notice from the developer in the *source code* must be left in tact - but
> otherwise - do as you wish with it.

Best


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Joomla GPL Extensions and Removal of Backlinks" by shumisha
shumisha  
View profile  
 More options Jul 26 2012, 5:42 am
From: shumisha <shumi...@gmail.com>
Date: Thu, 26 Jul 2012 02:42:12 -0700 (PDT)
Local: Thurs, Jul 26 2012 5:42 am
Subject: Re: [jgen] Joomla GPL Extensions and Removal of Backlinks

Hi

I will try contact them directly to make this hijacking stop.

@Elin, thanks. I don't see how the text you quoted prevent you from adding
your own notices. Actually, it doesn't change the terms of GPL 2 or 3 which
*forces* you to add visible copyright notices, and only talk about a few
additional restrictions you are allowed to add to the license terms, plus
the fact that you can remove any "restricting" terms that a previous
contributor may have added. Anyway, I think better leave this topic off for
now, as this thread is already extremely and unfortunately very confusing.

@valandis: I think the answer is pretty solid, if one just read the license
either in version 2 or 3. What Matt Lipscomb says in the paragraph you
quoted is not correct.
Paragraph 2.c og GPL version 2 says:

*c) If the modified program normally reads commands interactively when run,
you must cause it, when started running for such interactive use in the
most ordinary way, to print or display an announcement including an
appropriate copyright notice and a notice that there is no warranty (or
else, saying that you provide a warranty) and that users may redistribute
the program under these conditions, and telling the user how to view a copy
of this License. (Exception: if the Program itself is interactive but does
not normally print such an announcement, your work based on the Program is
not required to print an announcement.) *

This paragraph explicitely prevent anyone from removing a copyright notice
in the *visible output* of a GPL-licensed program. The well-known "keep the
source code copyright notice but do as you wish with the rest of the code"
is just a common-language approximation, but the license does put a (at
least one) restriction on what you can do with the source code, and that is
you cannot cause the removal of visible copyright notice if there are any.

 As previously stated, GPL version 3 has the same provision in paragraph
5.d.

Rgds

Le jeudi 26 juillet 2012 08:50:42 UTC+2, Valandis a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Multi-lingual support for extensions" by Nick Savov
Nick Savov  
View profile  
 More options Jul 27 2012, 12:51 pm
From: "Nick Savov" <n...@iowawebcompany.com>
Date: Fri, 27 Jul 2012 11:51:23 -0500
Local: Fri, Jul 27 2012 12:51 pm
Subject: Re: [jgen] Multi-lingual support for extensions
I understood you after your clarification.

I check these within my email client and the subject is simply "[jgen]
Multi-lingual support for extensions", so it's hard to know whether
someone else has created a new topic or added onto another one and changed
the subject.

Kind regards,
Nick


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam Moffatt  
View profile  
 More options Jul 27 2012, 2:44 pm
From: Sam Moffatt <pasa...@gmail.com>
Date: Fri, 27 Jul 2012 11:44:47 -0700
Local: Fri, Jul 27 2012 2:44 pm
Subject: Re: [jgen] Multi-lingual support for extensions
With any luck Google Groups will update their threading to be inline
with GMail's ability to detect when someone rewrites the entire email
and intelligently start a new thread. Unfortunately Google Groups
seems to be the abandoned child and they're only interested in badly
updating the UI to make it less usable and more frustrating. Long live
deja news.

Cheers,

Sam Moffatt
http://pasamio.id.au


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages < Older 
« Back to Discussions « Newer topic     Older topic »