As part of the i18n issues i opened in the past few days i found that the module "Commerce kickstart help" need separate translation. There are few things that needed to be clear:

  • In order to translate the accordion you need to create a folder name translations, in there create a folder with the language code and put inside the file "getting-started.html" that can be achieved from the folder profiles/commerce_kickstart/modules/commerce_kickstart/commerce_kickstart_help/help. The folder, translations, that we just created will located in profiles/commerce_kickstart/modules/commerce_kickstart/commerce_kickstart_help
  • In the get started page, there are arrows near to the title of each accordion, in the set patch i adjust them for matching to my Hebrew translation. But if someone will install another language the arrows will placed in the wrong place due to the absolute position of the arrows.
  • At the bottom of the page there are blocks. The text in the blocks is hard coded and not display via the t function. Itamar solved this in another issue that's wait to be merged - https://code.drupalcommerce.org/#/c/69/.

Gerrit link: https://code.drupalcommerce.org/#/c/136/

CommentFileSizeAuthor
Selection_028.png73.26 KBroysegall
translation.tar_.gz5.27 KBroysegall

Comments

bojanz’s picture

Component: User interface » Documentation
Assigned: Unassigned » joshmiller

Merged.

In order to translate the accordion you need to create a folder name translations, in there create a folder with the language code and put inside the file "getting-started.html" that can be achieved from the folder profiles/commerce_kickstart/modules/commerce_kickstart/commerce_kickstart_help/help. The folder, translations, that we just created will located in profiles/commerce_kickstart/modules/commerce_kickstart/commerce_kickstart_help

This needs to be documented.

roysegall’s picture

Where do you want to document it?

bojanz’s picture

We'll let Josh decide :)

joshmiller’s picture

I would recommend we include the text that bojanz quoted in a README.txt for the commerce_kickstart_help module ...

:D

Josh

lsolesen’s picture

Issue summary: View changes
Status: Active » Fixed

@joshmiller. I am closing this as there are extensive docs on CK. Please reopen if it is not fixed yet.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.