jhipster / generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
https://www.jhipster.tech
Apache License 2.0
21.54k stars 4.02k forks source link

Default ukrainian localization is showing garbage #23153

Closed twentytwodegreecelcious closed 1 year ago

twentytwodegreecelcious commented 1 year ago

So I've just started with jHipster, intending to create a very first application. I chose Ukrainian to be the primary language and the messages_ua.properties is showing garbage.

image

The initializer says that Ukrainian is supported, however it doesn't.

Follow the steps on jhipster.tech On step 4 choose Ukrainian to be the primary language.

idk

JHipster Version(s)

8.0.0-beta.2

JHipster configuration, a .yo-rc.json file generated in the root folder
.yo-rc.json file
{
  "applicationType": "monolith",
  "authenticationType": "session",
  "baseName": "vesta",
  "buildTool": "maven",
  "cacheProvider": "no",
  "clientFramework": "no",
  "creationTimestamp": 1691957431726,
  "databaseType": "sql",
  "devDatabaseType": "postgresql",
  "dtoSuffix": "DTO",
  "enableGradleEnterprise": null,
  "enableHibernateCache": false,
  "enableSwaggerCodegen": false,
  "enableTranslation": true,
  "entities": [],
  "entitySuffix": "",
  "gradleEnterpriseHost": null,
  "jhiPrefix": "jhi",
  "jhipsterVersion": "8.0.0-beta.2",
  "languages": [
    "ua",
    "en",
    "fr"
  ],
  "messageBroker": false,
  "microfrontend": false,
  "microfrontends": [],
  "nativeLanguage": "ua",
  "packageFolder": "com/twentytwodegreescelcius",
  "packageName": "com.twentytwodegreescelcius",
  "pages": [],
  "prodDatabaseType": "postgresql",
  "reactive": false,
  "searchEngine": false,
  "serverPort": null,
  "serverSideOptions": [],
  "serviceDiscoveryType": false,
  "skipCheckLengthOfIdentifier": false,
  "skipClient": true,
  "skipFakeData": false,
  "skipUserManagement": false,
  "testFrameworks": [],
  "websocket": false,
  "withAdminUi": true
}
Environment and Tools

openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing)

Windows10, browser is not relevant to the issue

duderoot commented 1 year ago

Hi @twentytwodegreecelcious did you check the encoding of the editor how are you viewing the file. From the screenshot feels like an encoding issues. As far as I know all the sources that are created are utf8. Could you also start the aplication to see what the application will display?

P.S. maybe you could change the name of the issue, IMHO garbage sound way to hart 😉 Thanks!

duderoot commented 1 year ago

As I susspected the problem lies in the config of your IDE, in your case IntelliJ. Looks like default encoding for proeprties is not utf8:

grafik

After changing the encoding to utf8 all looks good like expected 😄

grafik

@developers it can be close @atomfrede (I call you since you are closer geographicaly and I thought you can hear me 🤣 ) maybe you get the chance to close it 🍺

mshima commented 1 year ago

Ukrainian locale looks to be changed from ua to uk. Can someone confirm if we need to change files too?

deepu105 commented 1 year ago

@twentytwodegreecelcious we don't appreciate the language. This is an open source project run by volunteers who use their precious time doing this. You are welcome to report issues and if you find something is garbage you are welcome to create a PR to fix it rather than sounding entitled

twentytwodegreecelcious commented 1 year ago

@twentytwodegreecelcious we don't appreciate the language. This is an open source project run by volunteers who use their precious time doing this. You are welcome to report issues and if you find something is garbage you are welcome to create a PR to fix it rather than sounding entitled

I'm sorry for this. I inteded to write "showing garbage". Terribly sorry and I appriciate you guys doing the work.

deepu105 commented 1 year ago

Cool no worries then