Docs: Add i18n section to dev guidelines (#5160)

This commit is contained in:
Marc Bernard 2021-11-23 12:37:42 -05:00 committed by GitHub
parent 510441d486
commit 74cc4610c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,20 +3,27 @@ title: Development Guidelines
order: 10
---
### Conventions
## Conventions
#### Prefixing
### Prefixing
Variables are prefixed using the standard setting in [abapOpenChecks Naming Conventions](http://docs.abapopenchecks.org/checks/69/)
#### Downport
### Downport
abapGit is targeted for version 702, so the code should only contain expressions/statements that works on 702.
[abaplint](https://abaplint.org) will automatically check every PR for language syntax that is not available on 702.
#### Pretty Printer
### Pretty Printer
Use pretty printer, keywords upper case + indentation, [abapOpenChecks](http://docs.abapopenchecks.org/checks/06/) can be used for checking this
#### Dynpros
### Dynpros
For user interface, we are moving towards everything in HTML, ie. new dynpro screens or use of dynpro screens should not be added to the source code.
#### abaplint
### abaplint
Pull requests must pass all abaplint configured checks before they can be merged.
### Internationalization (I18N)
abapGit supports only English language. Neither objects nor text literals are translated. Therefore, all objects shall be set to English as the original language
and text literals in the code shall be maintained in English.
Since there's only one language, using the `##NO_TEXT` pragma is not required and will actually lead to lint errors. The exception are global class and interface definitions,
where the pragmas are added automatically by `SE24/SE80`.