Last modified: 2013-12-15 12:17:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34540, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32540 - Add support for language variants to the thank_you module
Add support for language variants to the thank_you module
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
CiviCRM (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Peter Gehres
: fun-com, fundraising
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-21 11:04 UTC by Peter Gehres
Modified: 2013-12-15 12:17 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Peter Gehres 2011-11-21 11:04:57 UTC
Currently the thank_you module can only handle two character language codes.  This is partially due to the usage of the preferred_language field in civicrm_contact which is limited to 5 characters and is expected to be in the xx_YY format (where xx is language and YY is country code).
Comment 1 Arthur Richards 2011-12-06 20:58:20 UTC
This should likely be filed as a bug with CiviCRM and/or we'll need to find a work around.
Comment 2 Peter Gehres 2011-12-06 21:00:35 UTC
To clarify, variants such as pt-br and en-gb are easy enough since they can be stored as pt_BR and en_GB, the real issue lies with variants such as zh-hans and zh-hant.
Comment 3 Peter Gehres 2012-11-11 22:19:24 UTC
This has been resolved with the deployment of the new and improved thank_you module which was initially committed in r2131.
Comment 4 Peter Gehres 2012-11-11 22:20:11 UTC
(In reply to comment #3)
> This has been resolved with the deployment of the new and improved thank_you
> module which was initially committed in r2131.

r2131 of the Wikimedia repo ... 

http://www.mediawiki.org/wiki/Special:Code/Wikimedia/2131
Comment 5 Andre Klapper 2013-12-15 12:17:51 UTC
[Moving from "CiviCRM/General" to "Wikimedia/CiviCRM; see bug 57738]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links