Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Languages #1

Open
rozsch91 opened this issue Oct 9, 2014 · 4 comments
Open

Languages #1

rozsch91 opened this issue Oct 9, 2014 · 4 comments

Comments

@rozsch91
Copy link

rozsch91 commented Oct 9, 2014

The use of language codes in the Citadel converter is not clear.

E.g. ES > SPANISH
GB > BRITISH

But for German, I could not find a code?
Assumed it would be DE or GE, but ended up using GN - not sure if this is correct.

@Facyla
Copy link
Member

Facyla commented Oct 9, 2014

Hi,
I'm using this reference for language codes : ISO-639-1, which you can find eg. at http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes - There is no strict verification of the used code in this converter anyway, but that is to rely on something stable and avoid conflicts of acronyms.

So "en" stands for english, and "de" for german ("Deutsch" actually).

I you have translated this tool into other languages, i will be pleased to integrate your translation :)

Also note that the other Citadel tools do not use the same translation files or translation logic

@rozsch91
Copy link
Author

Hi Facyla,

Thanks for your quick reply! I thought it would be "De" but could not find it as the languages are not ordered in alphabetical order. On what logic are the languages ordered? I mean most of the languages are ordered alphabetically but DE comes after the languages that start with 'G' for example.Is this because it orders it based on the fact its German rather than the code used?

Thanks in advance

@Facyla
Copy link
Member

Facyla commented Oct 10, 2014

I'm t sure we are talking about the same converter ? This one does not have any dropdown language selector.

The converter that is available at http://www.citadelonthemove.eu/en-us/opendata/convertmydataset.aspx is this one on Github https://github.com/CitadelOnTheMove/converter-portlet

..while this "php converter lib" is rather more experimental and not published directly into Citadel tools, but available at http://items.fr/apps/citadel/converter-php-lib/ (though this address might change in the future, as this tool is meant to be embedded into other projects or along with the Mobile Templates). It is not as friendly nor complete, but provides a webservice instead of static files conversion, which can be useful for regularly updated data.

@rozsch91
Copy link
Author

Thanks Facyla - I wasn't sure which converter thread to post this on - that is very helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants