|
|
Customers Translator GenoPro version: 2.5.4.1
Last Login: Wednesday, September 17, 2014
Posts: 15,
Visits: 102
|
|
|
|
Customers Translator GenoPro version: 2.5.4.1
Last Login: Wednesday, September 17, 2014
Posts: 15,
Visits: 102
|
|
|
|
Gamma Moderators Administrators FamilyTrees.GenoPro.com Customers GenoPro version: 3.1.0.0
Last Login: Wednesday, October 7, 2020
Posts: 952,
Visits: 10,075
|
The translation use the same technology as the Phrase generator use by Ron and others to create nice report.
If you have special plural rules (0,1,2, 2+ elements). You can do it with conditional. Take your time and read this document: |
|
|
Customers Translator GenoPro version: 2.5.4.1
Last Login: Wednesday, September 17, 2014
Posts: 15,
Visits: 102
|
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: 2 days ago @ 11:33 AM
Posts: 4,887,
Visits: 22,773
|
|
|
|
Customers Translator GenoPro version: 2.5.4.1
Last Login: Wednesday, September 17, 2014
Posts: 15,
Visits: 102
|
So how can I request that sort of thing is coded into GenoPro?
Addendum: Since response to this issue seems to be slow, would this workaround be ok? I found
[{?0=1} one more day][{!}{0} more days]
in the files. Which I re-modelled as
[{?0=1|11}{0} taigh][{?0=2|12}{0} thaigh][{?0=3|4|5|6|7|8|9|10|13|14|15|16|17|18|19|20}{0}taighean][{!}{0} taigh]
I'm not great shakes at code so feedback would be much appreciated.
Do, or do not. There is no try. ★ Am Faclair Beag ★ iGàidhlig, bathar-bog na Gàidhlig: Firefox, LibreOffice ⁊ mòran a bharrachd ★
Edited: Saturday, July 28, 2012 by
Akerbeltz
|
|
|
Customers Translator GenoPro version: 2.5.4.1
Last Login: Wednesday, September 17, 2014
Posts: 15,
Visits: 102
|
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: 2 days ago @ 12:28 AM
Posts: 3,396,
Visits: 26,170
|
Having read your latest post, I had an attempt at this using the Phrase Editor. The Else {!} applies to the immediately preceding conditional, so theretically to get the result you want you need to nest the clauses and should be able to use
Tha [{?0=1}{0} taigh][{!}[{?0=2}{0} thaigh][{!}[{?0=3}{0} taighean][{!}{0} taighaen]]] |
But whilst this appears to work in the GenoPro Phrase Editor, when actually applied in a localization then the phrase template is not converted correctly as you have already discovered.
This seems therefore to be a real bug in GenoPro and perhaps is more easily fixed than the 'limitation' your refer too.
Perhaps Dan or JC could comment on this.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers Translator GenoPro version: 2.5.4.1
Last Login: Wednesday, September 17, 2014
Posts: 15,
Visits: 102
|
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: 2 days ago @ 12:28 AM
Posts: 3,396,
Visits: 26,170
|
As before you need to nest the 'else' phrases[{?1=1}an-dè][{!}[{?1=2}a-bhòin-dè][{!}{1} làithean air ais]] |
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|