You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/tour/tour.go
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,9 @@
19
19
- _content/tour/[new_lang_code]/static/js/values.js: Replace the table of contents with the translated content for the new language.
20
20
21
21
4. Modify Template:
22
-
- _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.
22
+
- _content/tour/[new_lang_code]/template/*.tmpl : Replace all entries containing `tour/eng` with `tour/[new_lang_code]`.
23
+
- _content/tour/[new_lang_code]/template/index.tmpl:42 : Translate the title to the new language.
24
+
- _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.
23
25
24
26
## Testing
25
27
- After completing the above steps, thoroughly test the new language integration to ensure that all aspects function correctly and the content appears as expected.
0 commit comments