|
From: Mats E. <mat...@gi...> - 2021-03-01 10:35:58
|
Ok - did that! Furthermore, I think I have found the error. Debugging the Language selector, I get * URL lang 'swe' is not a valid language code.* which I am sure it is. Thanks again, Mats.E Den mån 1 mars 2021 kl 09:21 skrev Francois Prunayre <fx....@gm... >: > Hi, it would be easier to help if you create a pull request targeting the > master branch adding your language. Then we can check it and it will be > available for anyone who would like to use GeoNetwork in Swedish ? > > Cheers > > Francois > > > > Le dim. 28 févr. 2021 à 00:27, Mats Elfström <mat...@gi...> > a écrit : > >> Thanks for valuable hints, Francois! >> I have extracted the localised files from Transifex and named them >> according to the other files in the ..catalog/locales folder. Then I have >> transplanted the files into my running GN 4 instance, and added swe .- >> Swedish to the CatController.js file. Then I created a new UI and added swe >> - sv to the list of languages. Just to check, I also removed some other >> languages. After saving settings, swedish (Svenska) appears in the drop >> down language selector and the ones I removed are gone. So far all is well. >> However, if I select Svenska for language, the UI reverts to English. >> Selecting any other language makes the UI change at once. If I try to go >> from say Francais to Svenska, I get English. >> Apparently there is some other flag or config file that needs to be set >> or activated, but I cannot figure out where. >> I believe I am on the right track - just need the key to the final gate. >> >> Thankful for any hint - Mats.E >> >> >> Den mån 22 feb. 2021 kl 10:44 skrev Francois Prunayre < >> fx....@gm...>: >> >>> Hi, >>> >>> >>> https://geonetwork-opensource.org/manuals/4.0.x/en/contributing/translating.html >>> is probably a good start. You can collect translation from transifex using >>> https://github.com/geonetwork/core-geonetwork/blob/master/web-ui/download-from-transifex.sh. >>> Then you can make a Pull request on github once you have tested it. >>> >>> Cheers. >>> Francois >>> >>> >>> Le mer. 17 févr. 2021 à 16:39, Mats Elfström <mat...@gi...> >>> a écrit : >>> >>>> Dear community. >>>> I am working on the Swedish translation and have completed most of all >>>> the Angular strings. There remains some strings in other resources, but it >>>> is no great effort to complete those. >>>> I would like to know what steps are necessary to eventually include >>>> Swedish in the current release? >>>> However, I would like to first be able to test run the Swedish UI in a >>>> non public environment? >>>> How would I do that? I am not asking for step by step instructions, >>>> only a pointer in the general direction. I believe I can work it out from >>>> that. >>>> I have a local GitHub clone and I am exploring the localization files >>>> and commands there. >>>> May I add that I have unsuccessfully reached out to the Swedish team >>>> coordinator for advice. >>>> >>>> Regards. Mats.E >>>> >>>> -- >>>> >>>> >>>> *GisKraft*, Geodatakonsult >>>> >>>> Mats Elfström, Marsvinsholms stationsväg 80, 271 93 Ystad, Sweden >>>> tel: +46 70 595 39 35 / www.giskraft.se >>>> _______________________________________________ >>>> GeoNetwork-devel mailing list >>>> Geo...@li... >>>> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel >>>> GeoNetwork OpenSource is maintained at >>>> http://sourceforge.net/projects/geonetwork >>> >>> >> >> -- >> >> >> *GisKraft*, Geodatakonsult >> >> Mats Elfström, Marsvinsholms stationsväg 80, 271 93 Ystad, Sweden >> tel: +46 70 595 39 35 / www.giskraft.se >> > -- *GisKraft*, Geodatakonsult Mats Elfström, Marsvinsholms stationsväg 80, 271 93 Ystad, Sweden tel: +46 70 595 39 35 / www.giskraft.se |