TERMIUM Plus®
From: Translation Bureau
On social media
Consult the Government of Canada’s terminology data bank.
FRAGMENT CODE [1 record]
Record 1 - internal organization data 2020-02-06
Record 1, English
Record 1, Subject field(s)
- Codes (Software)
- Computer Programs and Programming
Record 1, Main entry term, English
- code snippet
1, record 1, English, code%20snippet
correct
Record 1, Abbreviations, English
Record 1, Synonyms, English
- snippet 2, record 1, English, snippet
correct
Record 1, Textual support, English
Record number: 1, Textual support number: 1 DEF
A small section of text or source code that can be inserted into the code of a program or Web page. 3, record 1, English, - code%20snippet
Record number: 1, Textual support number: 1 CONT
Snippets provide an easy way to implement commonly used code or functions into a larger section of code. Instead of rewriting the same code over and over again, a programmer can save the code as a snippet and simply drag and drop the snippet wherever it is needed. By using snippets, programmers and Web developers can also organize common code sections into categories, creating a cleaner development environment. 3, record 1, English, - code%20snippet
Record 1, French
Record 1, Domaine(s)
- Codes (Logiciels)
- Programmes et programmation (Informatique)
Record 1, Main entry term, French
- fragment de code
1, record 1, French, fragment%20de%20code
correct, masculine noun
Record 1, Abbreviations, French
Record 1, Synonyms, French
- extrait de code 2, record 1, French, extrait%20de%20code
correct, masculine noun
- bout de code 3, record 1, French, bout%20de%20code
correct, masculine noun
- morceau de code 4, record 1, French, morceau%20de%20code
correct, masculine noun
- snippet 2, record 1, French, snippet
avoid, calque
Record 1, Textual support, French
Record number: 1, Textual support number: 1 DEF
Petit bloc de code déjà écrit que l'on peut insérer facilement dans un code source à l'aide des outils fournis par [un environnement de développement intégré]. 5, record 1, French, - fragment%20de%20code
Record 1, Spanish
Record 1, Textual support, Spanish
Copyright notice for the TERMIUM Plus® data bank
© Public Services and Procurement Canada, 2026
TERMIUM Plus®, the Government of Canada's terminology and linguistic data bank
A product of the Translation Bureau
Features
GCtranslate (available on the Government of Canada network only)
Use this artificial intelligence prototype to translate Government of Canada content up to and including Protected B. Available to employees of selected departments and agencies only.
Writing tools
The Language Portal’s writing tools have a new look! Easy to consult, they give you access to a wealth of information that will help you write better in English and French.
Glossaries and vocabularies
Access Translation Bureau glossaries and vocabularies.
- Date Modified:


