translate
-
Hello
I want to make the interface translation to a language different from the usual ones, namely Catalan. I have no problems with Poedit and the files I saw are in /fog/management/languages.
The question is which files should be modified to get a new language to the post with my translation?
thank you.
-
@pep The reason we use poedit is PHP is using gettext. So as long as catalan can generate binaries that php gettext can work with, you should be fine.
As for what files should be modified? You will likely want to use one of the existing languages as a template, and convert as necessary for catalan.
That being said, it’s unlikely we are going to incorporate catalan based files. This is because we generate the relevant binaries for language translation at install. This works because we are using a standard method of generating the files to be translated. The return of the translated files are also standard and our binaries can be built properly.
-
@tom-elliott No problem, I will modify one of the default languages to include Catalan. When I’m stable, I’ll move it internally to my organization as there are several areas that use it
-
@tom-elliott said in translate:
That being said, it’s unlikely we are going to incorporate catalan based files. This is because we generate the relevant binaries for language translation at install.
But why not translating the text language files and add that to FOG?
-
@sebastian-roth I don’t understand.
We use gettext for translation which, as far as I understand, uses po files for generating the translated binaries.
So If catalan can generate the po so we can build the binaries it should work.
-
@Tom-Elliott Nevermind. To me it sounded as if you’d say we won’t add Catalan language to FOG. I am sure you meant something different. You know English is not my native language!
@pep You want to take this as a start: https://github.com/FOGProject/fogproject/blob/dev-branch/packages/web/management/languages/es_ES.UTF-8/LC_MESSAGES/messages.po
Do all your translations to Catalan and let us know when you are done. Either send a pull request on github (note: using
dev-branch
notmaster
branch!) or provide a copy of the new translation file another way. -
@sebastian-roth I was thinking Catalan was a type of translated like po. Not the language being translated into Catalan. Don’t mind my stupidity
-
@sebastian-roth I have a holiday this August, I’m going to make the translation and I’m going to try it out in my organization, we have several FOGs. When I see it well, we talk about it
ah, Congratulations to everyone on the project
-
@pep Any news on this?