Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ardanlabs/gotour
Browse files Browse the repository at this point in the history
  • Loading branch information
ardan-bkennedy committed Sep 20, 2023
2 parents 6c1cd55 + 9bdcdc7 commit df52d8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/tour/tour.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
- _content/tour/[new_lang_code]/static/js/values.js: Replace the table of contents with the translated content for the new language.
4. Modify Template:
- _content/tour/[new_lang_code]/template/index.tmpl: Add the new language option to the language selection dropdown. Repeat this step in each language folder's template file.
- _content/tour/[new_lang_code]/template/*.tmpl : Replace all entries containing `tour/eng` with `tour/[new_lang_code]`.
- _content/tour/[new_lang_code]/template/index.tmpl:42 : Translate the title to the new language.
- _content/tour/[new_lang_code]/template/index.tmpl:71 : Add the new language option to the language selection dropdown. Repeat this step in each language folder's template file.
## Testing
- After completing the above steps, thoroughly test the new language integration to ensure that all aspects function correctly and the content appears as expected.
Expand Down

0 comments on commit df52d8d

Please sign in to comment.