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
Currently, if you view the CP in another language and use one of the predefined dictionaries, the labels are not translated. I think translating Countries and Currencies would be sufficient enough.
If this is something that would be considered for a merge, I'd be happy to provide a PR.
For the PR, it should be considered where to put the translations.
Either within the {lang}.json file, which would be convenient, but messy
Within a dictionaries.php file where the translated dictionaries are within an array
Countries -> countries.{iso2}
Currencies -> currencies.{code}
How to reproduce
Create a dictionary fieldtype within come blueprint and change the language to anything !English.
Logs
No response
Environment
EnvironmentApplication Name: StatamicLaravel Version: 11.28.1PHP Version: 8.3.12Composer Version: 2.5.8Environment: localDebug Mode: ENABLEDURL: statamic.testMaintenance Mode: OFFTimezone: UTCLocale: enCacheConfig: NOT CACHEDEvents: NOT CACHEDRoutes: NOT CACHEDViews: NOT CACHEDDriversBroadcasting: logCache: fileDatabase: sqliteLogs: stack / singleMail: logQueue: syncSession: fileStatamicAddons: 0Sites: 1Stache Watcher: Enabled (auto)Static Caching: DisabledVersion: 5.31.0 PRO
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered:
Bug description
Currently, if you view the CP in another language and use one of the predefined dictionaries, the labels are not translated. I think translating Countries and Currencies would be sufficient enough.
If this is something that would be considered for a merge, I'd be happy to provide a PR.
For the PR, it should be considered where to put the translations.
{lang}.json
file, which would be convenient, but messydictionaries.php
file where the translated dictionaries are within an arraycountries.{iso2}
currencies.{code}
How to reproduce
Create a dictionary fieldtype within come blueprint and change the language to anything !English.
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered: