Issue: The message Your order number is... we get when completing the checkout process is untranslatable in some situations.
Steps to reproduce the bug:
1. Install Drupal 7-26
2. Enable commerce modules
3. Enable multilingual-internationalization modules
4. Search in translation interface for the string 'Your order number is'
The string 'Your order number is' would not appear in the translation interface.
As a quick fix: run the following code one time (as an example you can run it ar /devel/php):
// Load the completion message.
$message = variable_get('commerce_checkout_completion_message', commerce_checkout_completion_message_default());
// Perform translation.
$message['value'] = commerce_i18n_string('commerce:checkout:complete:message', $message['value'], array('sanitize' => FALSE, 'update' => TRUE));
(The above code is portion of code taken from commerce_checkout_completion_message_pane_checkout_form function to which has been added 'update' => TRUE)
Comments
Comment #1
lhangea commentedComment #2
rszrama commentedThis has actually already been made translatable by i18n String, and I'll be rolling a release with the fix in it today.