This imporves internationalization support by falling back to the default
language's examples when a translation doesn't exist, prevention build errors
for missing localized code samples.
- Refactor code_sample.html to handle missing files more gracefully
- Move filename generation to scratch variable for reusability
- Add fallback logic to try default language when file not found in current language
- Reorganize source lookup flow with proper conditional blocks
- Maintain existing ghlink generation with updated filename variable