-
Notifications
You must be signed in to change notification settings - Fork 13
Localization functions
Finalspace edited this page May 29, 2026
·
1 revision
This category contains functions for getting information about current locale. More...
| Type | Name |
|---|---|
| enum |
fplLocaleFormat { fplLocaleFormat_None , fplLocaleFormat_ISO639 } An enumeration of locale formats. More... |
| Type | Name |
|---|---|
| fpl_platform_api size_t |
fplGetInputLocale (const fplLocaleFormat targetFormat, char *buffer, const size_t maxBufferLen) Gets the input locale in the given target format. |
| fpl_platform_api size_t |
fplGetSystemLocale (const fplLocaleFormat targetFormat, char *buffer, const size_t maxBufferLen) Gets the system locale in the given target format. |
| fpl_platform_api size_t |
fplGetUserLocale (const fplLocaleFormat targetFormat, char *buffer, const size_t maxBufferLen) Gets the user locale in the given target format. |
This category contains functions for getting information about current locale.
enum fplLocaleFormatAn enumeration of locale formats.
| Name | Description |
|---|---|
| fplLocaleFormat_None | No locale format. |
| fplLocaleFormat_ISO639 | ISO-639 format (de-DE, en-US, etc.). |
Definition at line 10708 of file final_platform_layer.h.
fpl_platform_api size_t fplGetInputLocale ( const fplLocaleFormat targetFormat, char * buffer, const size_t maxBufferLen )Gets the input locale in the given target format.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | targetFormat | Target locale format value fplLocaleFormat. |
| [out] | buffer | Reference to the target string buffer for writing the locale into. |
| [in] | maxBufferLen | The maximum length of the buffer. |
Returns: The number of required/written characters, excluding the null-terminator.
fpl_platform_api size_t fplGetSystemLocale ( const fplLocaleFormat targetFormat, char * buffer, const size_t maxBufferLen )Gets the system locale in the given target format.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | targetFormat | Target locale format value fplLocaleFormat. |
| [out] | buffer | Reference to the target string buffer for writing the locale into. |
| [in] | maxBufferLen | The maximum length of the buffer. |
Returns: The number of required/written characters, excluding the null-terminator.
fpl_platform_api size_t fplGetUserLocale ( const fplLocaleFormat targetFormat, char * buffer, const size_t maxBufferLen )Gets the user locale in the given target format.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | targetFormat | Target locale format value fplLocaleFormat. |
| [out] | buffer | Reference to the target string buffer for writing the locale into. |
| [in] | maxBufferLen | The maximum length of the buffer. |
Returns: The number of required/written characters, excluding the null-terminator.
- Assertion & Debug
- Atomic operations
- Audio functions
- Clipboard functions
- Console functions
- Constants
- Display/Monitor functions
- Dynamic library loading
- Error Handling
- Files/IO functions
- Function macros
- Hardware Infos
- Input types and functions
- Localization functions
- Logging
- Memory Macros
- Memory functions
- Operating system Infos
- Path functions
- Platform functions
- Session Infos
- Settings & Configurations
- Storage class identifiers
- String functions
- Threading and synchronizations routines
- Timing functions
- Video functions
- Window events
- Window functions
- fplARMCPUCapabilities
- fplAudioChannelMap
- fplAudioDeviceID
- fplAudioDeviceInfo
- fplAudioFormat
- fplAudioSettings
- fplColor32
- fplConditionVariable
- fplConsoleSettings
- fplCPUCapabilities
- fplCPUIDLeaf
- fplDateTime
- fplDateTimeCreationResult
- fplDateTimeResult
- fplDisplayInfo
- fplDisplayMode
- fplDynamicLibraryHandle
- fplEndianess
- fplEvent
- fplFileEntry
- fplFileHandle
- fplFilePermissions
- fplFileTimeStamps
- fplGamepadButton
- fplGamepadData
- fplGamepadEvent
- fplGamepadInfo
- fplGamepadInputBinding
- fplGamepadMapping
- fplGamepadSettings
- fplGamepadState
- fplGamepadStates
- fplGraphicsApiSettings
- fplImageSource
- fplInputBackendMask
- fplInputBackendSupport
- fplInputDevice
- fplInputDeviceGuid
- fplInputSettings
- fplInternalConditionVariable
- fplInternalDynamicLibraryHandle
- fplInternalFileEntryHandle
- fplInternalFileHandle
- fplInternalFileRootInfo
- fplInternalMutexHandle
- fplInternalSemaphoreHandle
- fplInternalSignalHandle
- fplInternalThreadHandle
- fplKeyboardEvent
- fplKeyboardState
- fplLogSettings
- fplLogWriter
- fplLogWriterConsole
- fplLogWriterCustom
- fplMemoryAllocationSettings
- fplMemoryBlock
- fplMemoryInfos
- fplMemorySettings
- fplMouseEvent
- fplMouseState
- fplMutexHandle
- fplOpenGLSettings
- fplOSVersionInfos
- fplSemaphoreHandle
- fplSettings
- fplSignalHandle
- fplSpecificAudioSettings
- fplThreadHandle
- fplThreadParameters
- fplTimestamp
- fplVersionInfo
- fplVideoBackBuffer
- fplVideoRect
- fplVideoRequirements
- fplVideoRequirementsVulkan
- fplVideoSettings
- fplVideoSurface
- fplVideoSurfaceOpenGL
- fplVideoSurfaceVulkan
- fplVideoWindow
- fplVulkanSettings
- fplWindowCallbacks
- fplWindowDropFiles
- fplWindowEvent
- fplWindowPosition
- fplWindowSettings
- fplWindowSize
- fplX86CPUCapabilities